#include using namespace std;#define MAXN 4int
main(){ //char arr[MAXN] = {0}; char arr[MAXN]; memset(arr,0,MAXN); while (cin
>> arr) {...
分类:
其他好文 时间:
2014-05-14 02:32:38
阅读次数:
327
Problem Description
Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grav...
分类:
其他好文 时间:
2014-05-13 06:58:19
阅读次数:
523
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4279
HDU集训队选拔赛地点:3教3楼机房,时间:5月10日(周六)12:00开始,请相互转告,谢谢~
百度之星编程大赛——您报名了吗?
...
分类:
其他好文 时间:
2014-05-12 15:05:02
阅读次数:
316
首先是CDQ《基于连通性状态压缩的动态规划问题》论文上的题目:URAL 1519
Formula 1 #include 2 #include 3 #include 4 using namespace std; 5 const int maxn
= 15; 6 const int H...
分类:
其他好文 时间:
2014-05-12 08:14:39
阅读次数:
433
Delta-wave
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 5447 Accepted Submission(s): 2063
Problem Description
A triangle field i...
分类:
其他好文 时间:
2014-05-11 19:56:01
阅读次数:
349
lz惭愧啊..
本来是30天就要总结,但是拖到了今天才总结
翻了下我之前的帖子,现在进行如下的总结
在这30多天的时间里,我付出最多的估计就是去刷Leetcode了..
博主虽然在大一曾经兴起,刷了一下杭电的oj,但是没有坚持下来。。现在想想,如果坚持下来的话,如今就完全不一样了.哎
这件事告诉我,一件事如果坚持下来,哪怕是再小的事,也能产生很大的作用
还有,不要轻易放弃,如果决定了,...
分类:
其他好文 时间:
2014-05-11 04:14:25
阅读次数:
354
1 #include 2 #include 3 using namespace std; 4
int nCases; 5 int m[1001], n[1001]; 6 char a[1001], b[1001]; 7 int main() 8 { 9
scanf("%d", &nCa...
分类:
其他好文 时间:
2014-05-10 05:14:19
阅读次数:
342
The ? 1 ? 2 ? ... ? n = k problem
The problem
Given the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k
? 1 ? 2 ? ... ? n =...
分类:
其他好文 时间:
2014-05-09 06:10:40
阅读次数:
285
#includeusing namespace std;int main(){ int n =
0, sum; while (cin>>n) { sum = 0; // 这里要清零 for (int i =0; i <= n; i++)
{...
分类:
其他好文 时间:
2014-05-09 05:38:17
阅读次数:
241