
基础练习
CHRISTINA_ERZA
从cs到asic
展开
-
HDOJ 2041 超级楼梯
超级楼梯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 47960 Accepted Submission(s): 24529Problem Description有一楼梯共M级,刚开始时你在第原创 2016-07-22 21:20:37 · 318 阅读 · 0 评论 -
LightOJ1104 birthday parado(经典概率)
DescriptionSometimes some mathematical results are hard to believe. One of the common problems is the birthday paradox. Suppose you are in a party where there are 23 people including you. What is原创 2016-08-13 17:20:34 · 310 阅读 · 0 评论 -
LightOJ 1058 Parallelogram Counting(数学)
DescriptionThere are n distinct points in the plane, given by their integer coordinates. Find the number of parallelograms whose vertices lie on these points. In other words, find the number of 4-原创 2016-08-13 17:14:03 · 391 阅读 · 0 评论 -
zzulioj 1913 小火山的计算能力
小火山的计算能力Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 473 Solved: 124SubmitStatusWeb BoardDescription别人说小火山的计算能力不行,小火山很生气,于是他想证明自己,现在有一个表达式,他想计算出来。Input首先是一个t(1Output原创 2016-08-11 09:48:56 · 359 阅读 · 0 评论 -
CodeForces 366A Dima and Guards
Dima and GuardsTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 366ADescriptionNothing has changed since the last原创 2016-08-22 20:55:43 · 513 阅读 · 0 评论 -
CodeForces 658A Bear and Reverse Radewoosh
Bear and Reverse RadewooshTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 658ADescriptionLimak and Radewoosh are原创 2016-08-22 20:52:22 · 365 阅读 · 0 评论 -
CodeForces 554B Ohana Cleans Up
Ohana Cleans UpTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 554BDescriptionOhana Matsumae is trying to clean a原创 2016-08-22 20:48:43 · 380 阅读 · 0 评论 -
CodeForces 660A Co-prime Array
A - Co-prime ArrayTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 660ADescriptionYou are given an array of n elem原创 2016-08-22 20:34:12 · 379 阅读 · 0 评论 -
南理oj 不是匹配
不是匹配时间限制:1000 ms | 内存限制:65535 KB描述 有N个人,N个活动, 每个人只会对2个或者3个活动感兴趣, 每个活动也只有两个人或者两个活动对它兴趣,每个人参加一个 感兴趣的活动需要一天 ,且当天该活动被参加时,其他的人不能参加 如果每个人都参加完自己有兴趣的活动,应当怎样安排使得所用总天数时间最短2输入原创 2016-08-22 08:53:16 · 421 阅读 · 0 评论 -
Alarm
A -- AlarmTime Limit:1s Memory Limit:128MByteSubmissions:201Solved:70DESCRIPTIONGiven a number sequence [3,7,22,45,116,...][3,7,22,45,116,...]. Please tell me the kk-th number.原创 2016-08-05 21:04:24 · 299 阅读 · 0 评论 -
985的买饮料难题
985的买饮料难题Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 233 Solved: 123SubmitStatusWeb BoardDescription天气太热了,985制定了对未来的规划即第i天喝a[i]瓶饮料。为了节约开支,他打听到了第i天每瓶饮料的价格p[i]。为了不让自己的规划落空,他想知道这n天他原创 2016-08-05 10:53:39 · 617 阅读 · 0 评论 -
HDOJ 2005 第几天
第几天?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 124314 Accepted Submission(s): 45109Problem Description给定一个日期,输出这个日期是原创 2016-07-20 20:47:32 · 299 阅读 · 0 评论 -
HDOJ 1201 18岁生日
18岁生日Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28998 Accepted Submission(s): 9453Problem DescriptionGardon的18岁生日就要到了,他当原创 2016-07-20 20:42:38 · 358 阅读 · 0 评论 -
985的数字难题
985的数字难题Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 259 Solved: 88SubmitStatusWeb BoardDescription985有n个数,已知每次操作可以将其中不相同的两个数一个加一、一个减一,操作次数不限。问他最多可以得到多少个相同的数。Input第一行输原创 2016-08-03 21:41:01 · 448 阅读 · 0 评论 -
HDOJ 2018 母牛的故事
母牛的故事Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 68100 Accepted Submission(s): 34007Problem Description有一头母牛,它每年年初生一头原创 2016-07-22 21:26:13 · 301 阅读 · 0 评论 -
HDOJ 1155 Bungee Jumping
Bungee JumpingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 1126 Accepted Submission(s): 476Problem DescriptionOnce again,原创 2016-08-13 17:23:07 · 346 阅读 · 0 评论