- 博客(16)
- 收藏
- 关注
原创 EOJ3303 1 的个数最多的整数
3303. 1 的个数最多的整数DESCRIPTIONSTATISTICS1 DISCUSSIONTime limit per test: 2.0 secondsMemory limit: 256 megabytes给定整数 a 和 b,输出区间 [a,b] 中对应二进制表示含 1 的个数最多的整数。如果存在多个解,则输出符合条件的最小的整数。Input第一行一个整数 T (1≤T≤104),表示...
2018-05-31 20:50:27 475 1
原创 小朋友分糖果
B3. 小朋友分糖果Time limit per test: 1.0 secondsMemory limit: 256 megabytes有 n 个小朋友,标号为 1 到 n,每个小朋友有一些糖果,第 i 个小朋友拥有糖果数量为 ai。为了使得每个小朋友拥有相同的糖果,现提供如下操作:选择两个小朋友组成一个有序对 (u,v) (1≤u,v≤n,u≠v),然后记两个小朋友拥有的糖果总和为 S,然后令...
2018-05-31 20:22:23 2921
原创 POJ2492 A Bug's Life
A Bug's LifeTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 41950 Accepted: 13618DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He assu...
2018-05-29 16:31:41 238
原创 HDU1272 小希的迷宫
小希的迷宫Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 61080 Accepted Submission(s): 19171Problem Description上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在...
2018-05-28 20:54:18 228
原创 HDU3038 How Many Answers Are Wrong
How Many Answers Are WrongTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 13057 Accepted Submission(s): 4638Problem DescriptionTT and FF are ...
2018-05-27 20:18:55 122
原创 POJ1611 The Suspects
The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 48037 Accepted: 22992DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recogniz...
2018-05-25 14:11:39 101
原创 POJ2236 Wireless Network
Wireless NetworkTime Limit: 10000MS Memory Limit: 65536KTotal Submissions: 35815 Accepted: 14853DescriptionAn earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set ...
2018-05-25 11:47:06 128
原创 EOJ3337 我认识你
3337. 我认识你DESCRIPTIONSTATISTICSDISCUSSIONTime limit per test: 2.0 secondsMemory limit: 256 megabytes人与人之间的关系错综复杂,常常会出现一个叫作共同好友的东西。所以,贴心的 QQ 就提供了这样一个功能,可以显示你与某人(不一定是好友)有多少个共同好友。但是,当用户量逐渐增大,好友关系网不断复杂化,共...
2018-05-25 10:25:23 492
原创 ECNU第十届程序设计竞赛
A. 浮点数模运算Time limit per test: 1.0 secondsMemory limit: 512 megabytes几乎每个学 C 语言的人都会面临这样一种困惑:为什么 % 只支持整数和整数,不支持浮点数。自然,C++ 提供了运算符重载几乎可以很方便地实现自定义的浮点数模运算,但到底是不方便的。而与此相对比的,Java / Python 等高级语言就直接支持了浮点数模运算。本题...
2018-05-15 20:20:42 375
原创 Codeforces Round #479 (Div. 3)
从今天开始记录每一场cf。历史性的第一场div3的比赛。ac数量:4rating变化:-5
2018-05-10 20:02:18 121
原创 POJ3186 Treats for the Cows(区间dp)
Treats for the CowsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7271 Accepted: 3844DescriptionFJ has purchased N (1 <= N <= 2000) yummy treats for the cows who get money for giving ...
2018-05-10 18:38:11 173
原创 POJ3159 Candies
CandiesTime Limit: 1500MS Memory Limit: 131072KTotal Submissions: 35568 Accepted: 9998DescriptionDuring the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brou...
2018-05-09 19:49:02 172
原创 POJ2240 Arbitrage
ArbitrageTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 26573 Accepted: 11203DescriptionArbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency ...
2018-05-07 23:16:24 131
原创 POJ3660 Cow Contest (floyd传递闭包)
Cow ContestTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 14489 Accepted: 8119DescriptionN (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we ...
2018-05-06 16:01:30 151
原创 POJ3259 Wormholes
WormholesTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 59439 Accepted: 22218DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole ...
2018-05-06 00:25:59 111
原创 POJ1860 Currency Exchange
Currency ExchangeTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 34789 Accepted: 13350DescriptionSeveral currency exchange points are working in our city. Let us suppose that each point spec...
2018-05-05 21:47:33 165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人