10 2013 档案

PC/UVa 题号: 110106/10033 Interpreter (解释器)题解 c语言版
摘要:学到两个: //ignore \n cin.ignore(); //ignore a line cin.ignore(1024, '\n'); #include#include#include#include#include#include//uva 10033 Problem G: Interpreter#define ONLINE_JUDGEusing namespac... 阅读全文

posted @ 2013-10-30 15:18 katago 阅读(554) 评论(0) 推荐(0) 编辑

PC/UVa 题号: 110105/10267 Graphical Editor (图形化编辑器)题解
摘要:#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 阅读(464) 评论(0) 推荐(0) 编辑

PC/UVa 题号: 110104/706 LC-Display (液晶显示屏)题解
摘要:#include #include #include #include using namespace std;string numbers[5][10]={ " - ", " ", " - ", " - ", " ", " - ", " - ", " - ", " - ", ... 阅读全文

posted @ 2013-10-30 11:17 katago 阅读(459) 评论(0) 推荐(0) 编辑

The Trip PC/UVa IDs: 110103/10137, Popularity: B, Success rate: average Level: 1
摘要:#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 阅读(628) 评论(0) 推荐(0) 编辑

Minesweeper PC/UVa IDs: 110102/10189, Popularity: A,Success rate: high Level: 1
摘要:#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 阅读(661) 评论(0) 推荐(0) 编辑

PC/UVa 题号: 110101/100 The 3n+1 problem (3n+1 问题)
摘要:总结:1、用cache缓存结果2、不要假设输入数据的顺序,大的可能在前,小的在后3、中间计算结果可能要用long long 保存 阅读全文

posted @ 2013-10-23 13:58 katago 阅读(580) 评论(0) 推荐(0) 编辑

UVa Online Judge 工具網站
摘要: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 阅读(825) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示