09 2016 档案

摘要:■姚期智 我从事科学工作几十年,也认识了很多杰出的科学家。我自己觉得科学家的生涯很有收获,当科学家是一个非常好的体验,从中可以品尝到巨大的乐趣。 首先,我要谈一谈什么是科学家,科学家做什么样的事情。在此,我想引用大文豪萧伯纳在一个剧本里说的几句话:“有的人看到已经发生的事情,问‘为什么会这样’。我却 阅读全文
posted @ 2016-09-28 22:23 Pic 阅读(631) 评论(0) 推荐(0)
摘要:题目描述 You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each n 阅读全文
posted @ 2016-09-21 20:54 Pic 阅读(177) 评论(0) 推荐(0)
摘要:unsigned int 0~4294967295 int 2147483648~2147483647 (21亿)(2 1e9) unsigned long 0~4294967295 (42亿) long 2147483648~2147483647 (21亿)(2 1e9) long long的最大 阅读全文
posted @ 2016-09-18 19:34 Pic 阅读(430) 评论(0) 推荐(0)
摘要:Description As is known to all, the blooming time and duration varies between different kinds of flowers. Now there is a garden planted full of flower 阅读全文
posted @ 2016-09-17 22:06 Pic 阅读(148) 评论(0) 推荐(0)
摘要:``` const int M; struct node{ int max; int sum; int left; int right; }tree[4*M];//线段树数组 int a[M];//原始数据数组 //*********************// void build(int id,int left,int right)//递归建树 { if... 阅读全文
posted @ 2016-09-12 22:30 Pic 阅读(124) 评论(0) 推荐(0)
摘要:Description In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by swapping 阅读全文
posted @ 2016-09-11 22:02 Pic 阅读(182) 评论(0) 推荐(0)
摘要:大二已经过去两星期了。在大二开始的这段时间里,这一段时间,我的压力很大,一方面我在复习之前落下的数学知识,另一方面坚持ACM的学习。也因此我的生活轨迹变得特别规律,宿舍→ 教室→ 图书馆→ 教室→ 实验室→ 宿舍。压力很大,很忙碌。但有种说不出来的充实感。这才是我心目中的理想的大学生活。 从暑假的A 阅读全文
posted @ 2016-09-11 21:57 Pic 阅读(348) 评论(0) 推荐(0)
摘要:2016 [TOC] Description 给出正整数 n 和 m,统计满足以下条件的正整数对 (a,b) 的数量: 1. 1≤a≤n,1≤b≤m; 2. a×b 是 2016 的倍数。 Input 输入包含不超过 30 组数据。 每组数据包含两个整数 n,m (1≤n,m≤109). Outpu 阅读全文
posted @ 2016-09-03 21:03 Pic 阅读(366) 评论(0) 推荐(0)