2016年3月6日
摘要:
24 Point game 时间限制:3000 ms | 内存限制:65535 KB 难度:5 描述 There is a game which is called 24 Point game. In this game , you will be given some numbers. Your
阅读全文
posted @ 2016-03-06 18:05
cleverbiger
阅读(200)
推荐(0)
摘要:
Igor In the Museum time limit per test 1 second memory limit per test 256 megabytes Igor is in the museum and he wants to see as many pictures as poss
阅读全文
posted @ 2016-03-06 16:34
cleverbiger
阅读(344)
推荐(0)
摘要:
B. Cards time limit per test 2 seconds memory limit per test 256 megabytes Catherine has a deck of n cards, each of which is either red, green, or blu
阅读全文
posted @ 2016-03-06 15:46
cleverbiger
阅读(205)
推荐(0)
2016年3月3日
摘要:
1、 反转串 我们把“cba”称为“abc”的反转串。 下面的代码可以把buf中的字符反转。其中n表示buf中待反转的串的长度。请补充缺少的代码。 #include <stdio.h> #include <string.h> #include<stdlib.h> void reverse_str(c
阅读全文
posted @ 2016-03-03 15:57
cleverbiger
阅读(354)
推荐(0)
2016年1月16日
摘要:
DescriptionZYHAzwraith用自己心爱的键盘换来了很多支漂亮的荧光棒!一天,他准备用一条由很多个莹光圈相互连接而成的荧光链送给女神Asuna。每个荧光圈只能由一支荧光棒首尾相接成一个环得到。现在他手中有条荧光链,为了最后把这些链拼接成一条链,每次他可以选择任意一条荧光链中的任意一个荧...
阅读全文
posted @ 2016-01-16 22:27
cleverbiger
阅读(259)
推荐(0)
摘要:
Descriptionas we all know, ZhangYu(Octopus vulgaris) brother has a very famous speech - “Keep some distance from me”.ZhangYu brother is so rich that e...
阅读全文
posted @ 2016-01-16 22:18
cleverbiger
阅读(294)
推荐(0)
摘要:
历届试题 兰顿蚂蚁 时间限制:1.0s 内存限制:256.0MB问题描述 兰顿蚂蚁,是于1986年,由克里斯·兰顿提出来的,属于细胞自动机的一种。 平面上的正方形格子被填上黑色或白色。在其中一格正方形内有一只“蚂蚁”。 蚂蚁的头部朝向为:上下左右其中一方。 蚂蚁的移动规则十分简单: 若蚂...
阅读全文
posted @ 2016-01-16 12:16
cleverbiger
阅读(3092)
推荐(0)
2016年1月14日
摘要:
1、Identifiers:标识符 ①Names of class,method and variable:用于类名、方法名、变量名 ②Begin with character,"_" or "$":标识符不能以数字开头 ③Case sensitive:大小写敏感(区分大小写) ④No length
阅读全文
posted @ 2016-01-14 16:58
cleverbiger
阅读(126)
推荐(0)
2016年1月10日
摘要:
奔小康赚大钱Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6026Accepted Submission(s): 2663Problem Desc...
阅读全文
posted @ 2016-01-10 17:38
cleverbiger
阅读(193)
推荐(0)
2016年1月9日
摘要:
SPFTime Limit:1000MSMemory Limit:10000KTotal Submissions:7389Accepted:3353DescriptionConsider the two networks shown below. Assuming that data moves a...
阅读全文
posted @ 2016-01-09 20:29
cleverbiger
阅读(227)
推荐(0)