随笔分类 -  online judge TC

摘要:TC srm.673 300Time Limit: 20 SecMemory Limit: 256 MB题目连接Description给你n(n#include#include#includeusing namespace std;const int mod = 1e9+7;bool cmp(int... 阅读全文
posted @ 2015-11-19 10:13 qscqesze 阅读(267) 评论(0) 推荐(0) 编辑
摘要:LuckyXorTime Limit: 20 SecMemory Limit: 256 MB题目连接TCDescriptionA lucky number is a positive integer consisting of only the digits 4 and 7.Given an int... 阅读全文
posted @ 2015-08-11 21:15 qscqesze 阅读(271) 评论(2) 推荐(0) 编辑
摘要:LuckyCycleTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/contest/view.action?cid=87326#problem/BDescriptionThis problem is ab... 阅读全文
posted @ 2015-08-11 21:10 qscqesze 阅读(260) 评论(0) 推荐(0) 编辑
摘要:BearPlaysDiv2Problem StatementLimak is a little bear who loves to play. Today he is playing by moving some stones between three piles of stones. Initi... 阅读全文
posted @ 2015-08-02 02:10 qscqesze 阅读(242) 评论(0) 推荐(0) 编辑
摘要:BearCheatsProblem StatementLimak is an old brown bear. Because of his bad eyesight he sometimes has to visit his doctor, Dr. Carrot. Today is one such... 阅读全文
posted @ 2015-08-02 00:32 qscqesze 阅读(284) 评论(0) 推荐(0) 编辑
摘要:AABBTime Limit: 20 SecMemory Limit: 256 MB题目连接TCDescriptionOne day, Jamie noticed that many English words only use the letters A and B. Examples of su... 阅读全文
posted @ 2015-07-24 01:19 qscqesze 阅读(548) 评论(2) 推荐(1) 编辑
摘要:ChessFloorTime Limit: 20 SecMemory Limit: 256 MB题目连接TCDescriptionSamantha is renovating a square room. The floor of the room is an N times N grid of u... 阅读全文
posted @ 2015-07-24 01:12 qscqesze 阅读(345) 评论(0) 推荐(0) 编辑
摘要:Topcoder SRM 643 Div1 250Problem 给一个整数N,再给一个vectorv; N可以表示成若干个素数的乘积,N=p0*p1*p2*......*pn,我们假设p0,p1,...,pn是单调不降的,那么v里存储的是下标为偶数 的N的质因数p0,p2,p4,...,p(2k)... 阅读全文
posted @ 2014-12-29 00:34 qscqesze 阅读(256) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示