思维
neuike
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【模拟+思维】hdu5200 Trees
http://acm.hdu.edu.cn/showproblem.php?pid=5200 Trees Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1285 Accepted Submission(s): 400原创 2015-12-20 17:32:15 · 647 阅读 · 0 评论 -
poj3761
Bubble Sort Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2708 Accepted: 922 DescriptionBubble sort is a simple sorting algorithm. It works by repeatedly stepping through the l原创 2016-07-31 09:35:49 · 338 阅读 · 0 评论 -
uva10881
本题目是蚂蚁的相遇问题,蚂蚁相遇以后就反向,输出蚂蚁t秒后的次序。 这里用ne数组存下新状态的一切信息。注意交换的次序即可。 因为所有蚂蚁的相对位置不变,所以当前的相对位置也不变。 num存着所有的新位置的相对次序,即当前ne[i].loc是第几大的数字呢?num里面将这个次序分别存下来 order[i]里面则表示 大小顺序序号为i的数据将在第order[i]个输出 之后ne数组又依照数原创 2016-06-17 01:04:50 · 340 阅读 · 0 评论 -
Codeforces Beta Round #94 (Div. 1 Only)String
B. String time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output One day in the IT lesson Anna and Maria learned about the lexicographic order.St原创 2016-07-22 14:11:37 · 360 阅读 · 0 评论 -
zoj1115
Digital Roots Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Practice ZOJ 1115 Appoint description: System Crawler (2016-04-19) Description原创 2016-04-22 18:41:08 · 355 阅读 · 0 评论 -
Bicycle Race
Bicycle Race time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Maria participates in a bicycle race. The sp原创 2016-04-01 11:18:43 · 498 阅读 · 0 评论 -
New Reform
E. New Reform time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Berland has n cities connected by m bidirectio原创 2016-04-01 11:04:15 · 533 阅读 · 0 评论 -
【思维+枚举】wust1266 gcd和lcm
1266: gcd和lcm Time Limit: 1 Sec Memory Limit: 128 MB 64bit IO Format: %lld Submitted: 155 Accepted: 35 [Submit][Status][Web Board] Description 已知a,b的最大公约数为x,也即gcd(a,b)=x; a,b的最小公倍数为y原创 2015-12-25 15:00:25 · 818 阅读 · 0 评论 -
poj 2785
4 Values whose Sum is 0 Time Limit: 15000MS Memory Limit: 228000K Total Submissions: 18686 Accepted: 5546 Case Time Limit: 5000MS Description The SUM problem can原创 2016-01-23 17:04:00 · 262 阅读 · 0 评论 -
Paint Chainhdu3980
Paint ChainTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1741 Accepted Submission(s): 595Problem Description Aekdycoin and abcdxyzk are p原创 2016-08-06 19:44:25 · 286 阅读 · 0 评论
分享