随笔分类 - 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...
阅读全文
摘要: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...
阅读全文
摘要:LuckyCycleTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/vjudge/contest/view.action?cid=87326#problem/BDescriptionThis problem is ab...
阅读全文
摘要:BearPlaysDiv2Problem StatementLimak is a little bear who loves to play. Today he is playing by moving some stones between three piles of stones. Initi...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:Topcoder SRM 643 Div1 250Problem 给一个整数N,再给一个vectorv; N可以表示成若干个素数的乘积,N=p0*p1*p2*......*pn,我们假设p0,p1,...,pn是单调不降的,那么v里存储的是下标为偶数 的N的质因数p0,p2,p4,...,p(2k)...
阅读全文