Coder-Strike 2014 - Finals (online edition, 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
421 Coder-Strike 2014 - Finals (online edition, Div. 2) FINISHED False 7200 339270287 April 22, 2014, 12:15 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 549 ) D Bug in Code PROGRAMMING binary search data structures sortings 2100

B"Recently a serious bug has been found in the FOS code. The head of the F company wants to find the culprit and punish him. For that, he set up an organizational meeting, the issue is: who's bugged the code? Each of the n coders on the meeting said: 'I know for sure that either x or y did it!' The head of the company decided to choose two suspects and invite them to his office. Naturally, he should consider the coders' opinions. That's why the head wants to make such a choice that at least p of n coders agreed with it. A coder agrees with the choice of two suspects if at least one of the two people that he named at the meeting was chosen as a suspect. In how many ways can the head of F choose two suspects? Note that even if some coder was chosen as a suspect, he can agree with the head's choice if he named the other chosen coder at the meeting. The first line contains integers n and p (3 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893 xc2 xb7105; 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89p xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) -- the number of coders in the F company and the minimum number of agreed people. Each of the next n lines contains two integers xi, yi (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89xi, xe2 x80 x89yi xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) -- the numbers of coders named by the i-th coder. It is guaranteed that xi xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89i, xe2 x80 x89 yi xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89i, xe2 x80 x89 xi xe2 x80 x89 xe2 x89 xa0 xe2 x80 x89yi. Print a single integer -- the number of possible two-suspect sets. Note that the order of the suspects doesn't matter, that is, sets (1, xe2 x80 x892) and (2, xe2 x80 x891) are considered identical."...

Tutorials

Editorial Coder-Strike 2014 Finals

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
6454986 Misha100896 D April 23, 2014, 2:53 p.m. OK Delphi TESTS 45 233 20070400 2100
10543230 AHTuTTuTyX D April 1, 2015, 3:11 p.m. OK Delphi TESTS 45 436 56217600 2100
6453052 lonely_heart888 D April 23, 2014, 11:13 a.m. OK FPC TESTS 45 171 13209600 2100
9020728 Shounak D Dec. 8, 2014, 5:19 p.m. OK GNU C TESTS 45 265 16793600 2100
18911612 AkaneSasu D July 6, 2016, 4:51 a.m. OK GNU C++ TESTS 45 78 4608000 2100
17322955 Arturia D April 15, 2016, 6:36 a.m. OK GNU C++ TESTS 45 78 4608000 2100
6659224 afrizal D May 19, 2014, 6:27 p.m. OK GNU C++ TESTS 45 93 4812800 2100
6450944 small-szx D April 23, 2014, 5:32 a.m. OK GNU C++ TESTS 45 93 11161600 2100
40988741 ReaLNero1 D July 30, 2018, 10:19 p.m. OK GNU C++ TESTS 45 108 4608000 2100
6451416 dashashi D April 23, 2014, 7:07 a.m. OK GNU C++ TESTS 45 124 4812800 2100
6541086 CA72 D May 3, 2014, 6:04 p.m. OK GNU C++ TESTS 45 124 5017600 2100
7071841 nhphuongltv D July 13, 2014, 3:53 a.m. OK GNU C++ TESTS 45 124 6041600 2100
6482535 whn6325689 D April 27, 2014, 6:49 a.m. OK GNU C++ TESTS 45 124 6041600 2100
6449540 zhangzhou D April 22, 2014, 11:55 p.m. OK GNU C++ TESTS 45 139 7168000 2100
9298613 Xellos D Dec. 29, 2014, 2:05 p.m. OK GNU C++0x TESTS 45 109 4812800 2100
8600684 Plumrain D Nov. 7, 2014, 9:49 a.m. OK GNU C++0x TESTS 45 140 3584000 2100
6940190 cuiaoxiang D June 22, 2014, 1:43 a.m. OK GNU C++0x TESTS 45 140 4812800 2100
6450272 nuolan D April 23, 2014, 2:53 a.m. OK GNU C++0x TESTS 45 140 9625600 2100
6451223 cebrusfs D April 23, 2014, 6:36 a.m. OK GNU C++0x TESTS 45 217 11673600 2100
6452677 kcm1700 D April 23, 2014, 10:23 a.m. OK GNU C++0x TESTS 45 218 11673600 2100
6457622 danielfleischman D April 24, 2014, 12:14 a.m. OK GNU C++0x TESTS 45 249 11673600 2100
7142233 erfanmi hamidrh contest1234 D July 17, 2014, 10:52 p.m. OK GNU C++0x TESTS 45 265 48128000 2100
9499053 raihatneloy D Jan. 22, 2015, 6:48 a.m. OK GNU C++0x TESTS 45 311 14028800 2100
7500802 magieNoire D Aug. 18, 2014, 12:23 p.m. OK GNU C++0x TESTS 45 311 14643200 2100
31727925 The-Legend D Oct. 26, 2017, 3:59 a.m. OK GNU C++11 TESTS 45 124 4812800 2100
57882148 luogu_bot1 D July 28, 2019, 8:17 a.m. OK GNU C++11 TESTS 45 155 4812800 2100
64151452 luogu_bot2 D Nov. 3, 2019, 11:32 a.m. OK GNU C++11 TESTS 45 155 11571200 2100
57882131 vjudge5 D July 28, 2019, 8:16 a.m. OK GNU C++11 TESTS 45 156 4812800 2100
11454237 ShingRay D June 6, 2015, 4:28 a.m. OK GNU C++11 TESTS 45 156 5836800 2100
37178796 hongzhiyin D April 10, 2018, 6:34 p.m. OK GNU C++11 TESTS 45 156 8294400 2100
37388045 LZHlzh D April 17, 2018, 6:23 a.m. OK GNU C++11 TESTS 45 171 35635200 2100
11411018 polequoll D June 4, 2015, 8:15 a.m. OK GNU C++11 TESTS 45 234 23142400 2100
50802867 xielinhan D March 5, 2019, 2:14 a.m. OK GNU C++11 TESTS 45 234 24883200 2100
49864136 cheetose D Feb. 13, 2019, 11:15 a.m. OK GNU C++11 TESTS 45 249 13926400 2100
24345440 sddyzjh D Feb. 1, 2017, 1:46 p.m. OK GNU C++14 TESTS 45 217 6860800 2100
44427060 iaojnh D Oct. 17, 2018, 5:16 a.m. OK GNU C++14 TESTS 45 390 14643200 2100
38075783 _Shirley D May 9, 2018, 3:26 p.m. OK GNU C++14 TESTS 45 390 17920000 2100
34167664 iqqsoszs D Jan. 14, 2018, 5:59 a.m. OK GNU C++14 TESTS 45 405 18841600 2100
23656955 Ali.Pi D Jan. 8, 2017, 9:23 p.m. OK GNU C++14 TESTS 45 405 30924800 2100
38075703 _Shirley D May 9, 2018, 3:23 p.m. OK GNU C++14 TESTS 45 452 20377600 2100
37238725 boook D April 12, 2018, 4:02 a.m. OK GNU C++14 TESTS 45 483 17408000 2100
38772110 _ChenKerui D May 30, 2018, 12:09 p.m. OK GNU C++14 TESTS 45 499 23552000 2100
26518130 vjudge4 D April 20, 2017, 1:49 p.m. OK GNU C++14 TESTS 45 514 18944000 2100
22218879 step_by_step D Nov. 15, 2016, 8:51 a.m. OK GNU C++14 TESTS 45 545 32358400 2100
65057591 Joker_Gamer D Nov. 15, 2019, 3:42 p.m. OK GNU C++17 TESTS 45 202 6041600 2100
58045059 Phortox D July 30, 2019, 10:25 p.m. OK GNU C++17 TESTS 45 343 11673600 2100
57883951 vjudge4 D July 28, 2019, 9 a.m. OK GNU C++17 TESTS 45 451 73523200 2100
58245673 ruo D Aug. 4, 2019, 5:16 a.m. OK GNU C++17 TESTS 45 499 31539200 2100
58044955 Phortox D July 30, 2019, 10:19 p.m. OK GNU C++17 TESTS 45 561 28262400 2100
58045005 Phortox D July 30, 2019, 10:21 p.m. OK GNU C++17 TESTS 45 592 28262400 2100
59615937 _overrated_ D Aug. 28, 2019, 12:41 p.m. OK GNU C++17 TESTS 45 592 36147200 2100
65131258 Joker_Gamer D Nov. 16, 2019, 3:25 a.m. OK GNU C++17 TESTS 45 608 24371200 2100
52012284 sywfid188 D March 30, 2019, 9:06 a.m. OK GNU C++17 TESTS 45 888 11673600 2100
64557085 noelcowm D Nov. 9, 2019, 4:22 a.m. OK GNU C++17 TESTS 45 920 17100800 2100
6564074 Tr3 D May 6, 2014, 6:26 p.m. OK Java 6 TESTS 45 577 17920000 2100
6448522 fetetriste D April 22, 2014, 7:42 p.m. OK Java 7 TESTS 45 421 14336000 2100
7047707 owenomar D July 8, 2014, 1:52 p.m. OK Java 7 TESTS 45 436 14336000 2100
6456388 alexey.kasatkin D April 23, 2014, 7:17 p.m. OK Java 7 TESTS 45 545 35430400 2100
6458750 Guliash D April 24, 2014, 7:23 a.m. OK Java 7 TESTS 45 794 99635200 2100
26158819 MazzForces D April 5, 2017, 9:20 p.m. OK Java 8 TESTS 45 451 39321600 2100
6462718 wadissimo D April 24, 2014, 8:48 p.m. OK Java 8 TESTS 45 982 6758400 2100
6462741 wadissimo D April 24, 2014, 8:57 p.m. OK Java 8 TESTS 45 982 6860800 2100
6462730 wadissimo D April 24, 2014, 8:54 p.m. OK Java 8 TESTS 45 982 6860800 2100
6462726 wadissimo D April 24, 2014, 8:52 p.m. OK Java 8 TESTS 45 982 6860800 2100
6574341 og.kostya D May 8, 2014, 8:11 p.m. OK MS C# TESTS 45 451 17203200 2100
7208604 nifantyev D July 23, 2014, 11:41 a.m. OK MS C# TESTS 45 561 24473600 2100
6450274 azukun D April 23, 2014, 2:53 a.m. OK MS C# TESTS 45 686 22630400 2100
6457154 Rivx D April 23, 2014, 8:31 p.m. OK MS C++ TESTS 45 139 4812800 2100
6833865 iamexist D June 7, 2014, 6:48 p.m. OK MS C++ TESTS 45 233 19251200 2100
6462689 kingofnumbers D April 24, 2014, 8:34 p.m. OK MS C++ TESTS 45 249 15052800 2100
6445453 Alex7 D April 22, 2014, 1:41 p.m. OK MS C++ TESTS 45 249 15052800 2100
6451898 bible D April 23, 2014, 8:33 a.m. OK MS C++ TESTS 45 249 25292800 2100
11270066 Amr_Hassan D May 25, 2015, 8:18 p.m. OK MS C++ TESTS 45 265 15052800 2100
6453419 Svyat D April 23, 2014, 11:54 a.m. OK MS C++ TESTS 45 296 13312000 2100
6453673 BlackStar D April 23, 2014, 12:21 p.m. OK MS C++ TESTS 45 343 13312000 2100
6498214 Metamorphus D April 28, 2014, 7:23 a.m. OK MS C++ TESTS 45 452 36147200 2100
6503182 peaceful D April 29, 2014, 2:50 a.m. OK MS C++ TESTS 45 498 6041600 2100

remove filters

Back to search problems