- 博客(12)
- 收藏
- 关注
原创 C++定时器的实现与应用
每过5秒钟,从鸭笼里随机放出一只鸭子,鸭子出笼后,很开心的发出了自己的叫声。自从这只鸭子放出后7秒后,鸭子觉得无趣,回到笼子去休息了。每过13秒,鸭笼里就会生下一只全新的鸭子(种类随机)。
2017-08-24 17:18:16 10660
原创 pat1009. Product of Polynomials (25)
1009. Product of Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find
2016-05-12 00:27:11 246
原创 pat1008. Elevator (20)
1008. Elevator (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThe highest building in our city has only one ele
2016-05-11 22:58:51 247
原创 pat 1007. Maximum Subsequence Sum (25)
1007. Maximum Subsequence Sum (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a sequence of K integers { N
2016-05-11 14:13:33 279
原创 1002. A+B for Polynomials (25)
1002. A+B for Polynomials (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueThis time, you are supposed to find A+
2016-05-07 23:51:07 214
原创 pat 1101. Quick Sort (25)
时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CAO, PengThere is a classical process named partition in the famous quick sort algori
2016-05-07 10:07:36 221
原创 PAT 1048. Find Coins (25)
1048. Find Coins (25)时间限制50 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueEva loves to collect coins from all over the uni
2016-04-26 00:35:58 192
原创 PAT1005. Spell It Right (20)
1005. Spell It Right (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digi
2016-04-26 00:31:34 265
原创 PAT1015. Reversible Primes (20)
1015. Reversible Primes (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA reversible prime in any number system
2016-04-26 00:28:20 243
原创 PAT1001. A+B Format (20)
1001. A+B Format (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueCalculate a + b and output the sum in standard
2016-03-25 20:07:35 181
原创 PAT1023. Have Fun with Numbers (20)
Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplication. Double it we will obtain 246913578, which happens to be another 9-digit number con
2016-03-25 00:59:08 259
原创 C++类入门
#includeusingnamespace std;classTime{private: int hour, minute, second;public: Time(int h=0,int m=0,int s=0) { hour=h;
2015-04-27 21:54:29 296
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人