随笔分类 -  挑战编程

http://uva.onlinejudge.org/
摘要:#include #include #include #include #include #include #include using namespace std; int m; int n; //bmp[y][x] char bmp[251][251]; void swap_if_bigger(int& x, int& y) ... 阅读全文
posted @ 2013-10-30 11:19 katago 阅读(472) 评论(0) 推荐(0)
摘要:#include #include #include #include using namespace std;string numbers[5][10]={ " - ", " ", " - ", " - ", " ", " - ", " - ", " - ", " - ", ... 阅读全文
posted @ 2013-10-30 11:17 katago 阅读(471) 评论(0) 推荐(0)
摘要:#include #include #include #include #include using namespace std; /* * A solution for "The Trip" problem. * UVa ID: 10137 */ #include int main (int argc, const char... 阅读全文
posted @ 2013-10-23 14:15 katago 阅读(641) 评论(0) 推荐(0)
摘要:#include#include#include#include#include#includeusing namespace std;int n, m;char x[101][101];void calc(){ for(int i=0;i=0 && a=0 && b0) printf("\n"); count++; printf("F... 阅读全文
posted @ 2013-10-23 14:13 katago 阅读(672) 评论(0) 推荐(0)
摘要:总结:1、用cache缓存结果2、不要假设输入数据的顺序,大的可能在前,小的在后3、中间计算结果可能要用long long 保存 阅读全文
posted @ 2013-10-23 13:58 katago 阅读(597) 评论(0) 推荐(0)
摘要:UVa Online Judge 工具網站 UVa中译题uHuntAlgorithmist Lucky貓的ACM園地,Lucky貓的 ACM 中譯題目 MirrorUVa Online Judge題目中譯!非常偉大的工作,請大家要心懷敬意!Ruby兔的ACM園地UVa Online Judge題目中譯!非常偉大的工作,請大家要心懷感激!uHunt這個站製作了一些網頁小工具,可以查詢自己在... 阅读全文
posted @ 2013-10-22 14:54 katago 阅读(870) 评论(0) 推荐(0)