疯狂的指针
疯狂的指针
全部文章
分类
C/C++(10)
c语言(1)
git(1)
Git教程(2)
IO模型(1)
leetcode(18)
LeetCode题解(3)
Linux(7)
PLC(3)
Python(7)
socket(1)
中国(2)
其他(1)
冒泡排序(1)
动态规划(6)
回溯法(1)
回溯法基础(3)
快速排序(1)
接口(2)
数据结构(5)
未归档(187)
树状数组(1)
浙大PAT-A题目集(30)
浙大PAT-B题目集(23)
深入学习C++(14)
生物(1)
程序员升职记(10)
笔试(2)
经济学人(6)
英语学习(1)
读书笔记(3)
谷歌(1)
归档
标签
去牛客网
登录
/
注册
Vincent's Blog
全部文章
(共355篇)
PAT-A 1007. Maximum Subsequence Sum
Given a sequence of K integers { N1, N2, …, NK }. A continuous subsequence is defined to be { Ni, Ni+1, …, Nj } where 1 <= i <= j <= K. The M...
2016-07-31
0
582
PAT-A 1006. Sign In and Sign Out
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door...
2016-07-31
0
376
PAT-A 1005. Spell It Right
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specifica...
2016-07-31
0
427
PAT-A 1001. A+B Format
Calculate a + b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less th...
2016-07-31
0
375
PAT-B 1054. 求平均值
本题的基本要求非常简单:给定N个实数,计算它们的平均值。但复杂的是有些输入数据可能是非法的。一个“合法”的输入是[-1000,1000]区间内的实数,并且最多精确到小数点后2位。当你计算平均值的时候,不能把那些非法的数据算在内。 输入格式: 输入第一行给出正整数N(<=100)。随后一行给...
2016-07-30
0
502
PAT-B 1044. 火星数字
火星人是以13进制计数的: 地球人的0被火星人称为tret。 地球人数字1到12的火星文分别为:jan, feb, mar, apr, may, jun, jly, aug, sep, oct, nov, dec。 火星人将进位以后的12个高位数字分别称为:tam, hel, maa...
2016-07-30
0
416
【动态规划】钢条切割问题
问题描述参见《算法导论》第十五章 动态规划,下面给出程序代码: #include<stdio.h> int max(int a,int b); int calc(int p[],int n); int p[11]={0,1,5,8,9,10,17,17,20,24,30};//p[i]...
2016-07-29
0
514
Git小白教程3---远程仓库克隆到本地
远程仓库克隆到本地很简单,用下面这条指令就可以实现 git clone git@github.com:[仓库地址] 我的Github中有一个名为basic_problem的仓库,现在要克隆到本地进行操作。 输入以下命令 cd /home/zk git clone git@github:z...
2016-07-29
0
532
Git小白教程2---远程仓库
上篇文章讲过了git本地仓库的使用,这篇文章介绍git远程仓库的使用 1.注册github帐号,新建一个仓库 首先,在github网站注册帐号,https://github.com/,注册完成后,新建一个仓库。 1点击New repository 2填写仓库名称,选择类型为Public(...
2016-07-29
0
656
Git小白教程1---本地仓库
1.安装git 在centos上安装git十分简单,直接输入以下命令即可: yum install git 2.创建本地仓库 安装完成后,跳到工作目录(可以是空目录或者已经包含文件的目录),这里假设工作目录为/home/zk/gitdemo 输入 cd /home/zk/gitdemo ...
git
2016-07-29
0
468
首页
上一页
11
12
13
14
15
16
17
18
19
20
下一页
末页