摘要: //之后的正确代码 阅读全文
posted @ 2016-03-17 23:01 邻家那小孩儿 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 最常用标准库函数 标准头文件包括: <asset.h> <ctype.h> <errno.h> <float.h> <limits.h> <locale.h> <math.h> <setjmp.h> <signal.h> <stdarg.h> <stddef.h> <stdlib.h> <stdio 阅读全文
posted @ 2016-03-17 22:38 邻家那小孩儿 阅读(321) 评论(0) 推荐(0) 编辑
摘要: Problem Description Do you own an ID card?You must have a identity card number in your family's Household Register. From the ID card you can get specific personal information of everyone. The number... 阅读全文
posted @ 2016-03-17 22:34 邻家那小孩儿 阅读(934) 评论(0) 推荐(0) 编辑
摘要: Problem Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group. A quote from the book: Tout avait Pair n... 阅读全文
posted @ 2016-03-17 09:32 邻家那小孩儿 阅读(194) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; int main() { int n,k; while(scanf("%d%d",&n,&k)!=-1) { int r=1,l=n,mid,sum=0; while(r<=l) { sum++; ... 阅读全文
posted @ 2016-03-17 08:48 邻家那小孩儿 阅读(149) 评论(0) 推荐(0) 编辑