摘要: A children’s puzzle that was popular 30 years ago consisted of a 5×5 frame which contained 24 small squares of equal size. A unique letter of the alph 阅读全文
posted @ 2016-02-25 20:59 X-POWER 阅读(454) 评论(0) 推荐(0) 编辑
摘要: UVA - 455 Periodic Strings Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Description Periodic Strings A character string is sa 阅读全文
posted @ 2016-02-25 17:12 X-POWER 阅读(400) 评论(0) 推荐(0) 编辑
摘要: NYOJ 描述 Shining Knight is the embodiment of justice and he has a very sharp sword can even cleave wall. Many bad guys are dead on his sword. One day, 阅读全文
posted @ 2016-02-25 09:55 X-POWER 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 解决问题 的方法 千千万 在这里我就写一种自己认为比较好的 排序思想吧 . 最初的时候 我想的是 这样的 #include<cstdio> #include<algorithm> using namespace std; bool cmp(int a[],int b[]) { return a[0] 阅读全文
posted @ 2016-02-25 09:27 X-POWER 阅读(2223) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<string> #include<set> #include<sstream> using namespace std; set<string> dict; //string集合 int main { string s,buf; while(c 阅读全文
posted @ 2016-02-25 08:49 X-POWER 阅读(331) 评论(0) 推荐(0) 编辑