Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended]

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
720 Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended] FINISHED False 7200 257626499 Sept. 18, 2016, 11:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 865 ) A Closing ceremony PROGRAMMING greedy 2000

B'The closing ceremony of Squanch Code Cup is held in the big hall with n xe2 x80 x89 xc3 x97 xe2 x80 x89m seats, arranged in n rows, m seats in a row. Each seat has two coordinates (x, xe2 x80 x89y) (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89m). There are two queues of people waiting to enter the hall: k people are standing at (0, xe2 x80 x890) and n xc2 xb7m xe2 x80 x89- xe2 x80 x89k people are standing at (0, xe2 x80 x89m xe2 x80 x89+ xe2 x80 x891). Each person should have a ticket for a specific seat. If person p at (x, xe2 x80 x89y) has ticket for seat (xp, xe2 x80 x89yp) then he should walk |x xe2 x80 x89- xe2 x80 x89xp| xe2 x80 x89+ xe2 x80 x89|y xe2 x80 x89- xe2 x80 x89yp| to get to his seat. Each person has a stamina -- the maximum distance, that the person agrees to walk. You should find out if this is possible to distribute all n xc2 xb7m tickets in such a way that each person has enough stamina to get to their seat. The first line of input contains two integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xc2 xb7m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89104) -- the size of the hall. The second line contains several integers. The first integer k (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xc2 xb7m) -- the number of people at (0, xe2 x80 x890). The following k integers indicate stamina of each person there. The third line also contains several integers. The first integer l (l xe2 x80 x89= xe2 x80 x89n xc2 xb7m xe2 x80 x89- xe2 x80 x89k) -- the number of people at (0, xe2 x80 x89m xe2 x80 x89+ xe2 x80 x891). The following l integers indicate stamina of each person there. The stamina of the person is a positive integer less that or equal to n xe2 x80 x89+ xe2 x80 x89m. If it is possible to distribute tickets between people in the described manner print "YES", otherwise print "NO". '...

Tutorials

Russian Code Cup 2016 — Results and Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
28593983 Scut82 A July 16, 2017, 10:46 a.m. OK GNU C++ TESTS 110 15 2560000 2000
28946562 lsmll A July 28, 2017, 7:49 a.m. OK GNU C++ TESTS 110 15 3072000 2000
26507461 nhho A April 20, 2017, 4:11 a.m. OK GNU C++ TESTS 110 15 4198400 2000
20751531 Randolph87 A Sept. 19, 2016, 9:48 a.m. OK GNU C++ TESTS 110 30 102400 2000
20870575 ioiboirmi2017 A Sept. 23, 2016, 5:38 p.m. OK GNU C++ TESTS 110 30 307200 2000
20733966 LCF A Sept. 18, 2016, 12:26 p.m. OK GNU C++ TESTS 110 30 614400 2000
20734856 ljh2000 A Sept. 18, 2016, 12:54 p.m. OK GNU C++ TESTS 110 30 716800 2000
21115982 yaoling1997 A Oct. 2, 2016, 1:30 p.m. OK GNU C++ TESTS 110 30 2355200 2000
29378748 vjudge4 A Aug. 12, 2017, 1:57 p.m. OK GNU C++ TESTS 110 30 2560000 2000
31466778 Shawn3213 A Oct. 18, 2017, 2:33 a.m. OK GNU C++ TESTS 110 30 3379200 2000
20962555 jianhua623 A Sept. 28, 2016, 8:19 a.m. OK GNU C11 TESTS 110 1200 100454400 2000
20978435 aditya1495 A Sept. 28, 2016, 8:12 p.m. OK GNU C++11 TESTS 110 15 307200 2000
20940783 chitanda A Sept. 27, 2016, 8:44 a.m. OK GNU C++11 TESTS 110 15 409600 2000
22589904 AbstractKangaroo A Nov. 29, 2016, 2:25 a.m. OK GNU C++11 TESTS 110 15 512000 2000
20754142 20144676 A Sept. 19, 2016, 12:01 p.m. OK GNU C++11 TESTS 110 15 716800 2000
28954686 D_Star A July 28, 2017, 1:14 p.m. OK GNU C++11 TESTS 110 15 2457600 2000
29378776 Anson529 A Aug. 12, 2017, 1:59 p.m. OK GNU C++11 TESTS 110 15 2560000 2000
28950999 lzw4896s A July 28, 2017, 10:56 a.m. OK GNU C++11 TESTS 110 15 2662400 2000
28951054 lzw4896s A July 28, 2017, 11 a.m. OK GNU C++11 TESTS 110 15 2662400 2000
35526286 minson123 A Feb. 20, 2018, 3:47 p.m. OK GNU C++11 TESTS 110 15 2764800 2000
23364937 Ali.Pi A Dec. 27, 2016, 6:22 p.m. OK GNU C++11 TESTS 110 15 2867200 2000
27470740 zimpha A May 31, 2017, 4:08 p.m. OK GNU C++14 TESTS 110 15 614400 2000
20788559 Husayn_Hasanov A Sept. 21, 2016, 5:06 a.m. OK GNU C++14 TESTS 110 15 716800 2000
27458312 Los_Angelos_Laycurse A May 31, 2017, 3 a.m. OK GNU C++14 TESTS 110 15 921600 2000
29212910 strawberrry A Aug. 5, 2017, 7:50 a.m. OK GNU C++14 TESTS 110 15 2662400 2000
22288673 NiroBC A Nov. 17, 2016, 1:02 p.m. OK GNU C++14 TESTS 110 30 307200 2000
27098732 MasterMind0108 A May 14, 2017, 12:55 a.m. OK GNU C++14 TESTS 110 30 409600 2000
30862535 sleepify A Sept. 30, 2017, 10:46 a.m. OK GNU C++14 TESTS 110 30 1638400 2000
20733685 chemthan A Sept. 18, 2016, 12:16 p.m. OK GNU C++14 TESTS 110 30 19353600 2000
30860416 George.Samuel A Sept. 30, 2017, 9:13 a.m. OK GNU C++14 TESTS 110 31 102400 2000
62960536 aim97 A Oct. 19, 2019, 11:58 p.m. OK GNU C++14 TESTS 110 31 204800 2000
54663489 Abdulrahman_MJ A May 26, 2019, 11:58 a.m. OK GNU C++17 TESTS 110 31 102400 2000
54630856 zeyad334 A May 25, 2019, 2:22 p.m. OK GNU C++17 TESTS 110 31 204800 2000
54664768 DEDA A May 26, 2019, 12:42 p.m. OK GNU C++17 TESTS 110 31 307200 2000
40935396 blackbori A July 30, 2018, 4:37 a.m. OK GNU C++17 TESTS 110 31 512000 2000
47461890 Shayan.P A Dec. 24, 2018, 3:36 p.m. OK GNU C++17 TESTS 110 31 614400 2000
67022671 tsyr8924503 A Dec. 16, 2019, 1:26 p.m. OK GNU C++17 TESTS 110 31 716800 2000
52082203 ZCDHJ A March 31, 2019, 12:40 p.m. OK GNU C++17 TESTS 110 31 819200 2000
42472624 .I. A Sept. 4, 2018, 7:24 p.m. OK GNU C++17 TESTS 110 31 819200 2000
54322626 dalals A May 17, 2019, 10:53 p.m. OK GNU C++17 TESTS 110 31 819200 2000
43986034 bronze_man A Oct. 8, 2018, 7:15 a.m. OK GNU C++17 TESTS 110 31 1024000 2000
54423563 mr_pluto A May 20, 2019, 4:55 p.m. OK Java 8 TESTS 110 124 0 2000
22914233 Abdullah_Abu_Alrish A Dec. 12, 2016, 9:10 p.m. OK Java 8 TESTS 110 140 0 2000
22837008 Abdullah_Abu_Alrish A Dec. 9, 2016, 3:10 p.m. OK Java 8 TESTS 110 140 0 2000
22914182 Abdullah_Abu_Alrish A Dec. 12, 2016, 9:07 p.m. OK Java 8 TESTS 110 155 0 2000
24599489 Abdullah_Abu_Alrish A Feb. 12, 2017, 1:30 a.m. OK Java 8 TESTS 110 155 20889600 2000
24616723 Abdullah_Abu_Alrish A Feb. 12, 2017, 8:27 p.m. OK Java 8 TESTS 110 170 20889600 2000
20732160 ilyakor A Sept. 18, 2016, 11:23 a.m. OK Java 8 TESTS 110 171 0 2000
24616680 Abdullah_Abu_Alrish A Feb. 12, 2017, 8:23 p.m. OK Java 8 TESTS 110 171 20889600 2000
20805335 uwi A Sept. 21, 2016, 8 p.m. OK Java 8 TESTS 110 187 0 2000
23177651 Musin A Dec. 20, 2016, 1:26 p.m. OK Java 8 TESTS 110 327 21504000 2000
20806859 AnatolyTolstobrov A Sept. 21, 2016, 10:04 p.m. OK MS C# TESTS 110 124 307200 2000
20755303 azukun A Sept. 19, 2016, 12:44 p.m. OK MS C# TESTS 110 124 1638400 2000
20734625 Tom. A Sept. 18, 2016, 12:46 p.m. OK MS C++ TESTS 110 31 409600 2000
20732572 albert96 A Sept. 18, 2016, 11:39 a.m. OK MS C++ TESTS 110 31 716800 2000
20777162 zyding A Sept. 20, 2016, 1:38 p.m. OK MS C++ TESTS 110 31 819200 2000
20966493 Jutun A Sept. 28, 2016, 12:04 p.m. OK MS C++ TESTS 110 31 1228800 2000
20965298 Jutun A Sept. 28, 2016, 11:05 a.m. OK MS C++ TESTS 110 31 1433600 2000
20738139 Taube A Sept. 18, 2016, 3:07 p.m. OK MS C++ TESTS 110 202 614400 2000
22181381 Andreasyan A Nov. 12, 2016, 4:15 p.m. OK MS C++ TESTS 110 295 1126400 2000
20740645 NotEvenWrong A Sept. 18, 2016, 5:28 p.m. OK MS C++ TESTS 110 358 716800 2000
20732353 NVAL A Sept. 18, 2016, 11:31 a.m. OK MS C++ TESTS 110 374 1740800 2000
21047159 Cherser A Sept. 30, 2016, 6:12 p.m. OK MS C++ TESTS 110 530 409600 2000
20771882 franckmy A Sept. 20, 2016, 9:29 a.m. OK Python 2 TESTS 110 108 716800 2000

remove filters

Back to search problems