![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM_Codeforces
Tovi-A
用勇气改变可以改变的事情,用胸怀接受不能改变的事情,用智慧分辨两者的不同。
展开
-
Developing Skills
题目传送门:点击打开链接 #include #include #include #include using namespace std; //int a[100010]; struct node{ int p1, p2; }a[100010]; bool cmp(node a, node b) { return a.p2 > b.p2; } bool cmp1(node a原创 2015-09-29 18:31:22 · 482 阅读 · 0 评论 -
codeforces A. Orchestra B. Island Puzzle
A. Orchestra time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputPaul is at the orchestra. The string section is arranged in an r × c re原创 2016-05-05 15:12:23 · 443 阅读 · 0 评论 -
C. The Smallest String Concatenation
C. The Smallest String Concatenation time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output You're given a list of n strings原创 2016-04-12 19:19:16 · 559 阅读 · 0 评论 -
D. Longest Subsequence
D. Longest Subsequence time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given array a with n elements and th原创 2016-04-12 19:08:10 · 412 阅读 · 0 评论 -
B. Secret Combination
B. Secret Combination time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You got a box with a combination lock原创 2015-12-08 13:41:44 · 686 阅读 · 0 评论 -
Educational Codeforces Round 2_B. Queries about less or equal elements
B. Queries about less or equal elements time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given two arrays of i原创 2015-11-28 00:58:43 · 607 阅读 · 0 评论 -
Codeforces Round #332 (Div. 2)_B. Spongebob and Joke
B. Spongebob and Joke time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output While Patrick was gone shopping, Spon原创 2015-11-21 04:02:24 · 611 阅读 · 0 评论 -
Codeforces Round #280 (Div. 2)_C. Vanya and Exams
C. Vanya and Exams time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vanya wants to pass n exams and get the a原创 2015-11-19 18:31:56 · 535 阅读 · 0 评论 -
A. Two Bases
A. Two Bases time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output After seeing the "ALL YOUR BASE ARE BELONG TO U原创 2015-11-25 12:12:11 · 539 阅读 · 0 评论 -
Codeforces Round #328 (Div. 2)_B. The Monster and the Squirrel
B. The Monster and the Squirrel time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Ari the monster always wakes up very e原创 2015-11-01 11:09:13 · 524 阅读 · 0 评论 -
Codeforces Round #328 (Div. 2)_A. PawnChess
A. PawnChess time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Galois is one of the strongest chess players of Byteforce原创 2015-11-01 10:59:36 · 493 阅读 · 0 评论 -
A. Vasya and Football
A. Vasya and Football time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vasya has started watching football g原创 2015-11-23 15:54:41 · 393 阅读 · 0 评论 -
Codeforces Round #331 (Div. 2) _A. Wilbur and Swimming Pool
A. Wilbur and Swimming Pool time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output After making bad dives into swim原创 2015-11-16 13:20:01 · 423 阅读 · 0 评论 -
B. Duff in Love
B. Duff in Love time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Duff is in love with lovely numbers! A positive integ原创 2015-10-26 16:23:54 · 442 阅读 · 0 评论 -
Codeforces__Raising Bacteria
题目传送门:Raising Bacteria //问题描述:一个盒子里面放一个细菌在一天可以增生两个细菌。 现在已知盒子里面细菌的个数,问你最初放多少个细菌可以增生盒子里面的细菌数量 //输入:盒子中细菌的数量 //输出:最初至少放的细菌数量 //算法分析:从2开始累乘过程计数! #include #include #include using namespace std; type原创 2015-09-21 19:08:59 · 501 阅读 · 0 评论 -
A. Duff and Meat
A. Duff and Meat time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Duff is addicted to meat! Malek wants to keep her hap原创 2015-10-25 10:33:42 · 380 阅读 · 0 评论 -
B. OR in Matrix
B. OR in Matrix time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Let's define logical OR as an operation on two logical原创 2015-11-08 12:30:48 · 461 阅读 · 0 评论 -
B. Gerald is into Art
B. Gerald is into Art time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard outputGerald bought two very rare paintings at the Sotheby’s auction原创 2016-05-05 19:26:40 · 349 阅读 · 0 评论