摘要:
Description给定些数字,这些数中只有一个数出现了奇数次,找出这个数。Input每组数据第一行n表示数字个数,1 2 int main() 3 { 4 int n, x, ans; 5 while (scanf("%d", &n) != EOF) 6 { 7 ... 阅读全文
posted @ 2014-07-28 16:42
Iridescent_zzy
阅读(149)
评论(0)
推荐(0)
摘要:
DescriptionThe Happy Desert is full of sands. There is only a kind of animal called camel living on the Happy Desert. ‘Cause they live here, they need... 阅读全文
posted @ 2014-07-28 16:36
Iridescent_zzy
阅读(320)
评论(0)
推荐(1)
摘要:
Description你有一个日志文件,里面记录着各种系统事件的详细信息。自然的,事件的时间戳按照严格递增顺序排列(不会有两个事件在完全相同的时刻发生)。遗憾的是,你的系统被病毒感染了,日志文件中混入了病毒生成的随机伪事件(但真实事件的相对顺序保持不变)。备份的日志文件也被感染了,但由于病毒采用的随... 阅读全文
posted @ 2014-07-28 10:08
Iridescent_zzy
阅读(163)
评论(0)
推荐(0)

浙公网安备 33010602011771号