水滴石穿
文章平均质量分 75
BerBai
能做的为什么不去做呢?
展开
-
abc:def:ghi=1:2:3问题
用1,2,3……,9组成3个三位数abc,def和ghi,每个数字恰好使用一次,要求abc:def:ghi=1:2:3.输出所有解。原创 2017-08-17 10:29:07 · 1120 阅读 · 0 评论 -
Election
F(1967): ElectionSubmit Page Summary Time Limit: 1 Sec Memory Limit: 128 Mb Submitted: 495 Solved: 44 DescriptionAfter all the fundraising, campaigning and原创 2017-08-17 10:32:00 · 712 阅读 · 0 评论 -
求字符串的重复子字符串的最小周期
/*周期串 求多组字符串的最小周期 如qwqwqwqw 最小周期为2 by小战*/#include#includeusing namespace std;int main(){ char s[100]; while(cin >> s) { int len = strlen(s); for(int i=1;i<len;i++) { if(!(len%i)原创 2017-08-17 10:35:41 · 1242 阅读 · 1 评论 -
HDU2051 Bitset
Bitset Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 23901 Accepted Submission(s): 17756Problem DescriptionGive you a n原创 2017-08-17 10:45:46 · 225 阅读 · 0 评论 -
HUD2056 Rectangles
RectanglesTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 24963 Accepted Submission(s): 8116Problem DescriptionGiven two rect原创 2017-08-17 10:50:17 · 288 阅读 · 0 评论 -
ZOJ1056 The Worm Turns
The Worm TurnsTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluDescriptionWorm is an old computer game. There are many versions, but all involve maneuvering a原创 2017-08-17 11:07:38 · 275 阅读 · 0 评论 -
HDU1164 Eddy's research I
Eddy's research ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10342 Accepted Submission(s): 6386Problem DescriptionEddy's原创 2017-08-17 11:15:02 · 270 阅读 · 0 评论