上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页
摘要: C. Qualification Rounds time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Snark and Philip 阅读全文
posted @ 2017-10-05 23:59 euzmin 阅读(460) 评论(0) 推荐(0) 编辑
摘要: B. Race Against Time time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Race Against Tim 阅读全文
posted @ 2017-10-05 23:18 euzmin 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Daydreaming Stockbroker Gina Reed, the famous stockbroker, is having a slow day at work, and between rounds of solitaire she is day-dreaming. Foretell 阅读全文
posted @ 2017-10-05 21:54 euzmin 阅读(169) 评论(0) 推荐(0) 编辑
摘要: C. Ancient Berland Circus time limit per test 2 seconds memory limit per test 64 megabytes input standard input output standard output C. Ancient Berl 阅读全文
posted @ 2017-10-02 20:59 euzmin 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 外接圆半径 ∴ 由海伦公式得 ∴ 内接圆半径 由海伦公式可知, ∴ 解得 pi的求法 const double pi = acos(-1.0); 内接圆半径 由海伦公式可知, ∴ 解得 pi的求法 const double pi = acos(-1.0); 由海伦公式可知, ∴ 解得 pi的求法 c 阅读全文
posted @ 2017-10-02 19:52 euzmin 阅读(198) 评论(0) 推荐(0) 编辑
摘要: gcd: 整型求法 int gcd(int x,int y) { return b?gcd(b,a%b):a; } 浮点型求法 exgcd(摘自:戳这里): 1 typedef long long LL; 2 3 LL exgcd(LL a,LL b,LL &x,LL &y){ 4 5 if(a== 阅读全文
posted @ 2017-10-02 19:29 euzmin 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 本文转自:http://blog.csdn.net/sjf0115/article/details/8579935 阅读全文
posted @ 2017-10-02 17:41 euzmin 阅读(1455) 评论(0) 推荐(0) 编辑
摘要: B. Spreadsheets time limit per test 10 seconds memory limit per test 64 megabytes input standard input output standard output B. Spreadsheets time lim 阅读全文
posted @ 2017-10-02 17:16 euzmin 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 int bs1(int x,int y,int t) { //二分求上界 2 while(x <= y) { 3 int mid = x + (y - x) / 2; 4 if(num[mid] <= t) x = mid + 1; 5 else y = mid - 1; 6 } 7 retur 阅读全文
posted @ 2017-09-30 23:17 euzmin 阅读(216) 评论(0) 推荐(0) 编辑
摘要: B. Polycarp and Letters time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Polycarp loves l 阅读全文
posted @ 2017-09-27 12:18 euzmin 阅读(305) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 22 下一页