RCC 2014 Warmup (Div. 2)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
417 RCC 2014 Warmup (Div. 2) FINISHED False 7200 334073999 April 17, 2014, 3:40 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 4678 ) C Football PROGRAMMING constructive algorithms graphs implementation 1500

B'One day, at the "Russian Code Cup" event it was decided to play football as an out of competition event. All participants was divided into n teams and played several matches, two teams could not play against each other more than once. The appointed Judge was the most experienced member -- Pavel. But since he was the wisest of all, he soon got bored of the game and fell asleep. Waking up, he discovered that the tournament is over and the teams want to know the results of all the matches. Pavel didn 't want anyone to discover about him sleeping and not keeping an eye on the results, so he decided to recover the results of all games. To do this, he asked all the teams and learned that the real winner was friendship, that is, each team beat the other teams exactly k times. Help Pavel come up with chronology of the tournir that meets all the conditions, or otherwise report that there is no such table. The first line contains two integers -- n and k (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891000). In the first line print an integer m -- number of the played games. The following m lines should contain the information about all the matches, one match per line. The i-th line should contain two integers ai and bi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89ai, xe2 x80 x89bi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n; ai xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89bi). The numbers ai and bi mean, that in the i-th match the team with number ai won against the team with number bi. You can assume, that the teams are numbered from 1 to n. If a tournir that meets the conditions of the problem does not exist, then print -1.'...

Tutorials

RCC 2014 WarmUp Analysis

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
43400812 vjudge4 C Sept. 25, 2018, 8:33 a.m. OK Clang++17 Diagnostics TESTS 48 560 36454400 1500
6484278 cpy C April 27, 2014, 1:01 p.m. OK D TESTS 48 140 24268800 1500
6391813 Scintillo C April 17, 2014, 4:54 p.m. OK D TESTS 48 202 9420800 1500
6402943 ZOTAC89 C April 18, 2014, 1:13 p.m. OK Delphi TESTS 48 108 0 1500
6389987 boo C April 17, 2014, 4:29 p.m. OK Delphi TESTS 48 124 0 1500
6387773 HeyGuys C April 17, 2014, 4:05 p.m. OK Delphi TESTS 48 124 0 1500
6392137 temarazin C April 17, 2014, 5 p.m. OK Delphi TESTS 48 124 102400 1500
6388810 IgorL C April 17, 2014, 4:15 p.m. OK Delphi TESTS 48 124 102400 1500
6392568 Casio C April 17, 2014, 5:08 p.m. OK Delphi TESTS 48 124 1331200 1500
6388348 artem1416 C April 17, 2014, 4:11 p.m. OK Delphi TESTS 48 124 3993600 1500
6391796 Ne0n C April 17, 2014, 4:54 p.m. OK Delphi TESTS 48 124 4096000 1500
6387761 ruban C April 17, 2014, 4:04 p.m. OK Delphi TESTS 48 124 11776000 1500
6386658 hball1st C April 17, 2014, 3:54 p.m. OK Delphi TESTS 48 140 102400 1500
6396355 graceoflives C April 17, 2014, 7:09 p.m. OK FPC TESTS 48 452 8294400 1500
14252990 Andrey15253545 C Nov. 14, 2015, 10:49 a.m. OK FPC TESTS 48 764 0 1500
6910692 I_love_Varechka C June 19, 2014, 7:06 a.m. OK FPC TESTS 48 780 7987200 1500
6391130 azik C April 17, 2014, 4:44 p.m. OK FPC TESTS 48 794 0 1500
30321819 KagamiharaNadeshiko C Sept. 14, 2017, 7:08 a.m. OK FPC TESTS 48 795 0 1500
6402940 ZOTAC89 C April 18, 2014, 1:12 p.m. OK FPC TESTS 48 795 0 1500
6393174 LeKhacHuy08 C April 17, 2014, 5:20 p.m. OK FPC TESTS 48 795 0 1500
9936540 Vladik C Feb. 20, 2015, 11:30 a.m. OK FPC TESTS 48 795 7987200 1500
6392135 RomanDerkach C April 17, 2014, 5 p.m. OK FPC TESTS 48 810 1024000 1500
6388866 aandrukhovich C April 17, 2014, 4:16 p.m. OK FPC TESTS 48 811 102400 1500
10535048 satyam.pandey C March 31, 2015, 4:34 p.m. OK GNU C TESTS 48 124 0 1500
6609203 helen123 C May 13, 2014, 11:01 a.m. OK GNU C TESTS 48 124 0 1500
6396304 abcde12345 C April 17, 2014, 7:05 p.m. OK GNU C TESTS 48 124 0 1500
6391608 Woo C April 17, 2014, 4:51 p.m. OK GNU C TESTS 48 124 0 1500
6391603 abcde12345 C April 17, 2014, 4:51 p.m. OK GNU C TESTS 48 124 0 1500
15786448 norhh C Feb. 4, 2016, 11:47 a.m. OK GNU C TESTS 48 139 0 1500
11576445 Hypnos5 C June 14, 2015, 3:54 a.m. OK GNU C TESTS 48 139 0 1500
9429208 abhishekgarg C Jan. 14, 2015, 1:03 p.m. OK GNU C TESTS 48 139 0 1500
8945821 MohamedElhawaty C Dec. 2, 2014, 7:33 p.m. OK GNU C TESTS 48 139 0 1500
8926036 SherifWaly C Dec. 2, 2014, 12:28 a.m. OK GNU C TESTS 48 139 0 1500
6429757 I_love_Tanya_Romanova C April 20, 2014, 1:46 p.m. OK GNU C++ TESTS 48 109 0 1500
6401546 Songuku95 C April 18, 2014, 9:55 a.m. OK GNU C++ TESTS 48 109 0 1500
8226312 james007 C Oct. 14, 2014, 10:17 a.m. OK GNU C++ TESTS 48 109 1228800 1500
20963393 vjudge2 C Sept. 28, 2016, 9:17 a.m. OK GNU C++ TESTS 48 124 0 1500
20963119 vjudge2 C Sept. 28, 2016, 8:59 a.m. OK GNU C++ TESTS 48 124 0 1500
16548478 vjudge1 C March 6, 2016, 8:29 a.m. OK GNU C++ TESTS 48 124 0 1500
16546845 vjudge3 C March 6, 2016, 7:08 a.m. OK GNU C++ TESTS 48 124 0 1500
16341637 cayun C Feb. 26, 2016, 7:35 a.m. OK GNU C++ TESTS 48 124 0 1500
15599901 Savaw C Jan. 26, 2016, 6:52 p.m. OK GNU C++ TESTS 48 124 0 1500
15441787 biswasJU C Jan. 19, 2016, 4:06 p.m. OK GNU C++ TESTS 48 124 0 1500
7994704 krismaz C Sept. 28, 2014, 1:13 p.m. OK GNU C++0x TESTS 48 124 0 1500
6583488 A_Le_K C May 10, 2014, 4:39 p.m. OK GNU C++0x TESTS 48 124 0 1500
6439851 SCUTE C April 22, 2014, 11:30 a.m. OK GNU C++0x TESTS 48 124 0 1500
6417651 seucdy C April 19, 2014, 11:38 a.m. OK GNU C++0x TESTS 48 124 0 1500
7720598 tamir C Sept. 8, 2014, 11:29 a.m. OK GNU C++0x TESTS 48 124 1024000 1500
6388506 SebiSebi C April 17, 2014, 4:12 p.m. OK GNU C++0x TESTS 48 124 3993600 1500
6422693 CountZero C April 20, 2014, 6:18 a.m. OK GNU C++0x TESTS 48 124 4096000 1500
6414113 moh.amr C April 19, 2014, 1:16 a.m. OK GNU C++0x TESTS 48 124 6860800 1500
6397201 marat.snowbear C April 17, 2014, 9:25 p.m. OK GNU C++0x TESTS 48 124 7987200 1500
6398472 moh.amr C April 18, 2014, 2:58 a.m. OK GNU C++0x TESTS 48 124 10444800 1500
69601607 vjudge5 C Jan. 27, 2020, 7:54 a.m. OK GNU C++11 TESTS 48 78 0 1500
63004261 vjudge1 C Oct. 20, 2019, 10:46 a.m. OK GNU C++11 TESTS 48 78 0 1500
69842710 Overstars C Jan. 30, 2020, 1:35 p.m. OK GNU C++11 TESTS 48 109 0 1500
47230370 shubhamchandra C Dec. 18, 2018, 5:51 p.m. OK GNU C++11 TESTS 48 109 0 1500
47230189 shubhamchandra C Dec. 18, 2018, 5:46 p.m. OK GNU C++11 TESTS 48 109 0 1500
68033361 _dark_side C Jan. 1, 2020, 10:37 a.m. OK GNU C++11 TESTS 48 124 0 1500
63728480 xch112 C Oct. 29, 2019, 1:21 p.m. OK GNU C++11 TESTS 48 124 0 1500
57890746 lopare C July 28, 2019, 11:45 a.m. OK GNU C++11 TESTS 48 124 0 1500
57017766 vjudge3 C July 14, 2019, 12:28 p.m. OK GNU C++11 TESTS 48 124 0 1500
56886016 vjudge3 C July 12, 2019, 12:37 p.m. OK GNU C++11 TESTS 48 124 0 1500
69537204 jahid_hasan172 C Jan. 25, 2020, 7:24 p.m. OK GNU C++14 TESTS 48 93 0 1500
59861478 Suraj1667 C Sept. 1, 2019, 3:29 p.m. OK GNU C++14 TESTS 48 93 0 1500
54913479 HadiaBarakat C June 1, 2019, 12:25 p.m. OK GNU C++14 TESTS 48 93 0 1500
52495068 Lis1_ C April 8, 2019, 1:20 p.m. OK GNU C++14 TESTS 48 93 0 1500
47521712 Dark_Coder31 C Dec. 26, 2018, 1:27 p.m. OK GNU C++14 TESTS 48 93 0 1500
47363641 AynaP C Dec. 22, 2018, 10:13 a.m. OK GNU C++14 TESTS 48 93 0 1500
47097341 vjudge4 C Dec. 16, 2018, 9:04 a.m. OK GNU C++14 TESTS 48 93 0 1500
25475625 yerlandinata C March 14, 2017, 2:45 p.m. OK GNU C++14 TESTS 48 93 1945600 1500
57440204 L.L. C July 21, 2019, 6:30 a.m. OK GNU C++14 TESTS 48 108 0 1500
56402619 yadavrohit C July 1, 2019, 5:36 p.m. OK GNU C++14 TESTS 48 108 0 1500
55076662 chongryong C June 4, 2019, 8:55 a.m. OK GNU C++17 TESTS 48 61 102400 1500
56875512 vjudge4 C July 12, 2019, 8:08 a.m. OK GNU C++17 TESTS 48 93 0 1500
56873523 vjudge5 C July 12, 2019, 7:24 a.m. OK GNU C++17 TESTS 48 93 0 1500
46522221 OrDuck C Dec. 2, 2018, 6:24 p.m. OK GNU C++17 TESTS 48 93 0 1500
56879947 vjudge4 C July 12, 2019, 9:57 a.m. OK GNU C++17 TESTS 48 93 40038400 1500
63564129 vjudge2 C Oct. 27, 2019, 3:17 p.m. OK GNU C++17 TESTS 48 108 0 1500
56416481 Fallen_Glory C July 2, 2019, 4:57 a.m. OK GNU C++17 TESTS 48 108 0 1500
47104584 vjudge4 C Dec. 16, 2018, 12:18 p.m. OK GNU C++17 TESTS 48 108 204800 1500
45389812 DK318 C Nov. 6, 2018, 8:17 p.m. OK GNU C++17 TESTS 48 108 204800 1500
49764921 vjudge4 C Feb. 11, 2019, 11:11 a.m. OK GNU C++17 TESTS 48 108 4300800 1500
8164110 7rx C Oct. 10, 2014, 9:57 a.m. OK Go TESTS 48 156 0 1500
8163165 arnoldjulians C Oct. 10, 2014, 7:11 a.m. OK Go TESTS 48 233 102400 1500
6387706 Rafbill C April 17, 2014, 4:04 p.m. OK Haskell TESTS 48 233 8601600 1500
9330959 xiaowuc1 C Dec. 31, 2014, 6:51 a.m. OK Java 6 TESTS 48 171 0 1500
6403203 val C April 18, 2014, 1:46 p.m. OK Java 6 TESTS 48 171 14336000 1500
6388459 xueba C April 17, 2014, 4:12 p.m. OK Java 6 TESTS 48 217 102400 1500
6395149 erreze C April 17, 2014, 6:15 p.m. OK Java 6 TESTS 48 280 41574400 1500
8279722 maitony C Oct. 17, 2014, 10:37 a.m. OK Java 6 TESTS 48 483 99737600 1500
13403987 marcose18 C Oct. 4, 2015, 2:41 p.m. OK Java 7 TESTS 48 124 13619200 1500
12236719 Hartha C July 27, 2015, 7:04 a.m. OK Java 7 TESTS 48 124 13721600 1500
7985203 LouisCK C Sept. 27, 2014, 1:15 p.m. OK Java 7 TESTS 48 139 14233600 1500
7814129 ahmed_fathy_aly C Sept. 17, 2014, 1:32 a.m. OK Java 7 TESTS 48 140 0 1500
10038949 snow3 C Feb. 27, 2015, 12:56 a.m. OK Java 7 TESTS 48 140 0 1500
7280293 TranCongDuy C July 28, 2014, 6:55 p.m. OK Java 7 TESTS 48 140 14131200 1500
6587127 qu_hidayet C May 11, 2014, 12:39 p.m. OK Java 7 TESTS 48 140 14233600 1500
9368695 abear888 C Jan. 5, 2015, 9:37 p.m. OK Java 7 TESTS 48 140 19558400 1500
6390070 mohamednabil00000 C April 17, 2014, 4:30 p.m. OK Java 7 TESTS 48 140 21913600 1500
6977828 FilipVesovic C June 29, 2014, 12:46 a.m. OK Java 7 TESTS 48 155 0 1500
11541186 sweiss C June 12, 2015, 8:24 a.m. OK Java 8 TESTS 48 155 11264000 1500
25554496 Hoda_Hisham C March 16, 2017, 4:05 p.m. OK Java 8 TESTS 48 171 43110400 1500
59967896 lansergecs C Sept. 3, 2019, 9:56 p.m. OK Java 8 TESTS 48 186 0 1500
58358723 Seco_seco C Aug. 5, 2019, 9:29 p.m. OK Java 8 TESTS 48 186 14950400 1500
19584820 Ahmad_Elsagheer C Aug. 2, 2016, 6:15 p.m. OK Java 8 TESTS 48 186 14950400 1500
19884042 Corvus C Aug. 15, 2016, 9:03 a.m. OK Java 8 TESTS 48 186 37580800 1500
18908219 black.arrow C July 5, 2016, 10:31 p.m. OK Java 8 TESTS 48 187 0 1500
13013777 Nirmit C Sept. 15, 2015, 8:58 p.m. OK Java 8 TESTS 48 187 12288000 1500
45458612 Sasuke-u C Nov. 8, 2018, 9:34 p.m. OK Java 8 TESTS 48 187 14848000 1500
19584787 Ahmad_Elsagheer C Aug. 2, 2016, 6:13 p.m. OK Java 8 TESTS 48 187 14950400 1500
6929573 Eeyore C June 20, 2014, 4:39 p.m. OK JavaScript TESTS 48 155 36454400 1500
6401344 azukun C April 18, 2014, 9:18 a.m. OK MS C# TESTS 48 77 4096000 1500
6400478 azukun C April 18, 2014, 8:49 a.m. OK MS C# TESTS 48 93 4096000 1500
6401376 azukun C April 18, 2014, 9:25 a.m. OK MS C# TESTS 48 108 4096000 1500
6648847 og.kostya C May 18, 2014, 5:30 a.m. OK MS C# TESTS 48 233 3174400 1500
6397185 zhakovnikita C April 17, 2014, 9:21 p.m. OK MS C# TESTS 48 233 20889600 1500
6400158 azukun C April 18, 2014, 8:07 a.m. OK MS C# TESTS 48 233 27238400 1500
6404138 Mosyagin C April 18, 2014, 4:07 p.m. OK MS C# TESTS 48 233 33177600 1500
6398788 Silithus C April 18, 2014, 4:08 a.m. OK MS C# TESTS 48 249 3379200 1500
6400177 azukun C April 18, 2014, 8:09 a.m. OK MS C# TESTS 48 249 22016000 1500
6398504 tian_feng_bo C April 18, 2014, 3:05 a.m. OK MS C# TESTS 48 249 29286400 1500
12346827 vjudge1 C Aug. 5, 2015, 6:40 a.m. OK MS C++ TESTS 48 124 0 1500
56876755 vjudge2 C July 12, 2019, 8:36 a.m. OK MS C++ TESTS 48 124 0 1500
56875964 vjudge4 C July 12, 2019, 8:17 a.m. OK MS C++ TESTS 48 124 0 1500
56875392 vjudge1 C July 12, 2019, 8:06 a.m. OK MS C++ TESTS 48 124 0 1500
53743771 bbisnouse C May 4, 2019, 3:23 p.m. OK MS C++ TESTS 48 124 0 1500
47363009 vjudge5 C Dec. 22, 2018, 9:50 a.m. OK MS C++ TESTS 48 124 0 1500
47361057 vjudge4 C Dec. 22, 2018, 8:45 a.m. OK MS C++ TESTS 48 124 0 1500
6451307 12snoopy34 C April 23, 2014, 6:51 a.m. OK MS C++ TESTS 48 124 0 1500
50511118 vjudge3 C Feb. 26, 2019, 12:44 a.m. OK MS C++ TESTS 48 124 4915200 1500
56882806 vjudge1 C July 12, 2019, 11:13 a.m. OK MS C++ TESTS 48 124 16179200 1500
60927277 ainch96 C Sept. 20, 2019, 12:39 p.m. OK MS C++ 2017 TESTS 48 140 0 1500
68884472 onipp C Jan. 15, 2020, 8:24 p.m. OK MS C++ 2017 TESTS 48 545 0 1500
6399946 BC_ C April 18, 2014, 7:36 a.m. OK Ocaml TESTS 48 343 4300800 1500
6401679 rsFalse C April 18, 2014, 10:17 a.m. OK Perl TESTS 48 312 32768000 1500
6394688 rsFalse C April 17, 2014, 6:08 p.m. OK Perl TESTS 48 342 32768000 1500
6401639 rsFalse C April 18, 2014, 10:09 a.m. OK Perl TESTS 48 342 32768000 1500
6401653 rsFalse C April 18, 2014, 10:10 a.m. OK Perl TESTS 48 343 32768000 1500
6396312 rsFalse C April 17, 2014, 7:05 p.m. OK Perl TESTS 48 764 32768000 1500
6401578 rsFalse C April 18, 2014, 10 a.m. OK Perl TESTS 48 873 7577600 1500
6401594 rsFalse C April 18, 2014, 10:03 a.m. OK Perl TESTS 48 888 7577600 1500
6401583 rsFalse C April 18, 2014, 10:01 a.m. OK Perl TESTS 48 920 7577600 1500
26305658 gregvernon C April 11, 2017, 6:20 p.m. OK PHP TESTS 48 358 49561600 1500
46682448 noob77777 C Dec. 6, 2018, 12:39 p.m. OK PyPy 2 TESTS 48 234 36044800 1500
49244592 sky57 C Jan. 31, 2019, 12:01 p.m. OK PyPy 3 TESTS 48 592 8499200 1500
51407639 Kadtsin_vs C March 17, 2019, 10:36 a.m. OK PyPy 3 TESTS 48 607 8499200 1500
56152606 ppwani C June 27, 2019, 8:46 a.m. OK PyPy 3 TESTS 48 623 9625600 1500
64287825 amitme7836 C Nov. 5, 2019, 5:45 a.m. OK PyPy 3 TESTS 48 732 10752000 1500
20489053 Yash_ C Sept. 10, 2016, 2:51 a.m. OK PyPy 3 TESTS 48 795 7372800 1500
34060017 burakbugrul C Jan. 10, 2018, 1:05 a.m. OK PyPy 3 TESTS 48 826 30208000 1500
29441954 Qumeric C Aug. 13, 2017, 7:05 p.m. OK PyPy 3 TESTS 48 904 30310400 1500
6462899 nealzane C April 24, 2014, 11:03 p.m. OK Python 2 TESTS 48 343 23552000 1500
6424371 yugle7 C April 20, 2014, 7:26 a.m. OK Python 2 TESTS 48 358 23961600 1500
6484545 lcytzk C April 27, 2014, 1:53 p.m. OK Python 2 TESTS 48 499 102400 1500
9290622 Lei_Xufei C Dec. 28, 2014, 11:18 a.m. OK Python 2 TESTS 48 530 0 1500
6400153 Kianoosh C April 18, 2014, 8:06 a.m. OK Python 2 TESTS 48 530 0 1500
6391264 flamealchemist C April 17, 2014, 4:46 p.m. OK Python 2 TESTS 48 530 0 1500
6388655 Danstahr C April 17, 2014, 4:14 p.m. OK Python 2 TESTS 48 530 0 1500
20483324 anuyog1004 C Sept. 9, 2016, 5:27 p.m. OK Python 2 TESTS 48 545 0 1500
11707963 Mars314 C June 22, 2015, 10:59 a.m. OK Python 2 TESTS 48 545 0 1500
7244640 t.janssen52 C July 25, 2014, 6:20 p.m. OK Python 2 TESTS 48 545 0 1500
6424260 yugle7 C April 20, 2014, 7:24 a.m. OK Python 3 TESTS 48 499 32870400 1500
6643487 zhukov.ilya C May 17, 2014, 3 p.m. OK Python 3 TESTS 48 654 32460800 1500
6895163 Linkk C June 15, 2014, 3:31 p.m. OK Python 3 TESTS 48 655 32665600 1500
26304654 zacneubert C April 11, 2017, 5:22 p.m. OK Python 3 TESTS 48 670 32870400 1500
42135480 Mk_Python_v1 C Aug. 26, 2018, 11:14 p.m. OK Python 3 TESTS 48 732 31846400 1500
6416514 acbat C April 19, 2014, 8:59 a.m. OK Ruby TESTS 48 498 0 1500
6391907 Pipeliners C April 17, 2014, 4:55 p.m. OK Ruby TESTS 48 499 0 1500
6389620 scanhex C April 17, 2014, 4:25 p.m. OK Ruby TESTS 48 967 57856000 1500
13790566 reldan C Oct. 22, 2015, 12:38 p.m. OK Scala TESTS 48 701 83558400 1500

remove filters

Back to search problems