上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 138 下一页
摘要: 题意:给出n条线段,以米的单位给出,小数点后两位(精确到厘米),要你对这些线段裁剪,裁剪出m条等长的线段,并且让这些线段尽可能长另外线段的长度不能小于1厘米,如果筹不够m条,输出0.00 #include#include#include#include#includeusing namespace std;const int maxn=10010;double num[maxn];doub... 阅读全文
posted @ 2014-03-18 15:46 katago 阅读(241) 评论(0) 推荐(0)
摘要: fengyun@fengyun-server:~/learn/acm/poj$ cat 1979.cpp #include #include #include #include #include #include//istringstream #include #include using namespace std; char map... 阅读全文
posted @ 2013-11-11 11:34 katago 阅读(451) 评论(0) 推荐(0)
摘要: 学到两个: //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 阅读(565) 评论(0) 推荐(0)
摘要: #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 阅读(469) 评论(0) 推荐(0)
摘要: #include #include #include #include using namespace std;string numbers[5][10]={ " - ", " ", " - ", " - ", " ", " - ", " - ", " - ", " - ", ... 阅读全文
posted @ 2013-10-30 11:17 katago 阅读(468) 评论(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 阅读(637) 评论(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 阅读(670) 评论(0) 推荐(0)
摘要: 总结:1、用cache缓存结果2、不要假设输入数据的顺序,大的可能在前,小的在后3、中间计算结果可能要用long long 保存 阅读全文
posted @ 2013-10-23 13:58 katago 阅读(592) 评论(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 阅读(861) 评论(0) 推荐(0)
摘要: 八度音阶和频率的关系 Frequency in hertz (semitones above or below middle C) Octave→ Note↓ ... 阅读全文
posted @ 2013-02-28 17:02 katago 阅读(25018) 评论(6) 推荐(4)
上一页 1 ··· 72 73 74 75 76 77 78 79 80 ··· 138 下一页