Coder-Strike 2014 - Finals (online edition, Div. 1)

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
420 Coder-Strike 2014 - Finals (online edition, Div. 1) FINISHED False 7200 339270047 April 22, 2014, 12:19 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1274 ) C Bug in Code PROGRAMMING data structures graphs implementation two pointers 1900

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 xe2 x80 x93 xe2 x80 x93 the number of possible two-suspect sets. Note that the order of the suspects doesn't matter, that is, sets (1, xe2 x80 x892) xd0 xb8 (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
6444874 Gassa C April 22, 2014, 1:27 p.m. OK D TESTS 42 608 24064000 1900
6454865 Misha100896 C April 23, 2014, 2:40 p.m. OK Delphi TESTS 42 264 20070400 1900
10541673 AHTuTTuTyX C April 1, 2015, 12:43 p.m. OK Delphi TESTS 42 482 56217600 1900
6445558 venus.le197 C April 22, 2014, 1:43 p.m. OK FPC TESTS 42 139 3584000 1900
6443822 Alex_2oo8 C April 22, 2014, 1:01 p.m. OK FPC TESTS 42 155 6144000 1900
6444532 SanSiroWaltz C April 22, 2014, 1:18 p.m. OK FPC TESTS 42 202 16076800 1900
6446691 valeriy.stromov C April 22, 2014, 2:11 p.m. OK FPC TESTS 42 233 20889600 1900
6449986 NUOUN C April 23, 2014, 1:48 a.m. OK FPC TESTS 42 467 37068800 1900
6446320 awsn C April 22, 2014, 2:02 p.m. OK GNU C TESTS 42 265 16793600 1900
6577033 zyh C May 9, 2014, 10:50 a.m. OK GNU C++ TESTS 42 93 4812800 1900
40988757 ReaLNero1 C July 30, 2018, 10:19 p.m. OK GNU C++ TESTS 42 109 4608000 1900
6449554 zhuohan123 C April 23, 2014, 12:01 a.m. OK GNU C++ TESTS 42 109 85606400 1900
7116552 Tzn-40 C July 16, 2014, 1:37 p.m. OK GNU C++ TESTS 42 124 4812800 1900
6538322 wulala C May 3, 2014, 11:29 a.m. OK GNU C++ TESTS 42 124 4812800 1900
6451012 LiJiancheng C April 23, 2014, 5:43 a.m. OK GNU C++ TESTS 42 124 4812800 1900
6443942 CA72 C April 22, 2014, 1:03 p.m. OK GNU C++ TESTS 42 124 5017600 1900
6450723 henyumen C April 23, 2014, 4:46 a.m. OK GNU C++ TESTS 42 124 7270400 1900
6445218 MeoMeoo C April 22, 2014, 1:34 p.m. OK GNU C++ TESTS 42 124 9625600 1900
6474122 moji C April 25, 2014, 3:12 p.m. OK GNU C++ TESTS 42 139 6041600 1900
6444348 Arterm C April 22, 2014, 1:13 p.m. OK GNU C++0x TESTS 42 109 4812800 1900
6940081 cuiaoxiang C June 22, 2014, 12:15 a.m. OK GNU C++0x TESTS 42 140 4812800 1900
6690570 kenimo C May 24, 2014, 4:16 a.m. OK GNU C++0x TESTS 42 140 4812800 1900
8600683 Plumrain C Nov. 7, 2014, 9:49 a.m. OK GNU C++0x TESTS 42 155 3584000 1900
6449495 SCUTE C April 22, 2014, 11:44 p.m. OK GNU C++0x TESTS 42 155 45670400 1900
6452244 a654889339 C April 23, 2014, 9:26 a.m. OK GNU C++0x TESTS 42 156 4812800 1900
6444661 master_miu C April 22, 2014, 1:21 p.m. OK GNU C++0x TESTS 42 156 11059200 1900
6866182 Amor727 C June 11, 2014, 10:09 p.m. OK GNU C++0x TESTS 42 171 10854400 1900
6446765 betaveros C April 22, 2014, 2:13 p.m. OK GNU C++0x TESTS 42 202 11673600 1900
6444285 cebrusfs C April 22, 2014, 1:12 p.m. OK GNU C++0x TESTS 42 217 11673600 1900
58083129 rainboy C July 31, 2019, 2:33 p.m. OK GNU C11 TESTS 42 140 8396800 1900
19748128 davidwang C Aug. 9, 2016, 1:36 p.m. OK GNU C++11 TESTS 42 62 6860800 1900
31722057 The-Legend C Oct. 25, 2017, 7:35 p.m. OK GNU C++11 TESTS 42 124 4812800 1900
62779384 luogu_bot4 C Oct. 17, 2019, 12:31 p.m. OK GNU C++11 TESTS 42 124 15667200 1900
13140041 qsqx C Sept. 22, 2015, 11:56 a.m. OK GNU C++11 TESTS 42 140 3686400 1900
51560000 forlove C March 20, 2019, 7:34 a.m. OK GNU C++11 TESTS 42 140 10854400 1900
54502109 WOSHIGEPACHONG2 C May 22, 2019, 9:50 p.m. OK GNU C++11 TESTS 42 140 10854400 1900
13252114 tanphatls987 C Sept. 27, 2015, 4:17 p.m. OK GNU C++11 TESTS 42 155 3584000 1900
64151531 luogu_bot3 C Nov. 3, 2019, 11:34 a.m. OK GNU C++11 TESTS 42 155 11571200 1900
57882141 luogu_bot5 C July 28, 2019, 8:16 a.m. OK GNU C++11 TESTS 42 156 4812800 1900
21253764 top34051 C Oct. 7, 2016, 9:14 a.m. OK GNU C++11 TESTS 42 156 6860800 1900
31797992 Hoang_Cong C Oct. 27, 2017, 1:58 p.m. OK GNU C++14 TESTS 42 187 4812800 1900
21258690 zoomswk C Oct. 7, 2016, 1:22 p.m. OK GNU C++14 TESTS 42 187 12902400 1900
44065575 LODB---D C Oct. 10, 2018, 9:03 a.m. OK GNU C++14 TESTS 42 202 11673600 1900
44683173 atoiz C Oct. 22, 2018, 7:50 a.m. OK GNU C++14 TESTS 42 233 11673600 1900
44065603 LODB---D C Oct. 10, 2018, 9:04 a.m. OK GNU C++14 TESTS 42 249 11673600 1900
44065780 arshia_119 C Oct. 10, 2018, 9:11 a.m. OK GNU C++14 TESTS 42 265 14028800 1900
48099651 rawatds C Jan. 8, 2019, 7:28 p.m. OK GNU C++14 TESTS 42 265 14028800 1900
44065492 _Solenya_ C Oct. 10, 2018, 9 a.m. OK GNU C++14 TESTS 42 280 11673600 1900
60586677 vjudge2 C Sept. 14, 2019, 9:48 p.m. OK GNU C++14 TESTS 42 280 12902400 1900
35869318 vjudge2 C March 3, 2018, 5:47 a.m. OK GNU C++14 TESTS 42 280 13516800 1900
63960415 user202729_ C Nov. 1, 2019, 4:51 a.m. OK GNU C++17 TESTS 42 202 4812800 1900
59372909 tfg C Aug. 23, 2019, 7:57 p.m. OK GNU C++17 TESTS 42 217 4812800 1900
44065608 SamMHD C Oct. 10, 2018, 9:05 a.m. OK GNU C++17 TESTS 42 249 11673600 1900
44068508 am.azadi C Oct. 10, 2018, 10:47 a.m. OK GNU C++17 TESTS 42 249 14028800 1900
40849126 3agwa C July 27, 2018, 1:40 p.m. OK GNU C++17 TESTS 42 264 13619200 1900
67951597 Soren_15 C Dec. 30, 2019, 7:54 a.m. OK GNU C++17 TESTS 42 264 14028800 1900
49806792 benmirt C Feb. 11, 2019, 8:22 p.m. OK GNU C++17 TESTS 42 265 33075200 1900
64091654 Hasti_K C Nov. 2, 2019, 12:48 p.m. OK GNU C++17 TESTS 42 296 19251200 1900
40847115 MahmoudHamdyY C July 27, 2018, 12:39 p.m. OK GNU C++17 TESTS 42 326 32051200 1900
59375449 FlowerOfSorrow C Aug. 23, 2019, 9:28 p.m. OK GNU C++17 TESTS 42 327 20070400 1900
6445911 uwi C April 22, 2014, 1:52 p.m. OK Java 7 TESTS 42 187 14028800 1900
6449241 indy256 C April 22, 2014, 10:19 p.m. OK Java 7 TESTS 42 249 409600 1900
6442996 Egor C April 22, 2014, 12:44 p.m. OK Java 7 TESTS 42 342 18636800 1900
6443881 0p9o8i C April 22, 2014, 1:02 p.m. OK Java 7 TESTS 42 358 819200 1900
6449294 0p9o8i C April 22, 2014, 10:45 p.m. OK Java 7 TESTS 42 390 819200 1900
6443882 mmaxio C April 22, 2014, 1:02 p.m. OK Java 7 TESTS 42 405 14131200 1900
6448511 fetetriste C April 22, 2014, 7:42 p.m. OK Java 7 TESTS 42 420 14336000 1900
6452289 simenl C April 23, 2014, 9:31 a.m. OK Java 7 TESTS 42 421 12800000 1900
6450154 Vbifial C April 23, 2014, 2:27 a.m. OK Java 7 TESTS 42 436 28672000 1900
6449178 shamir0xe C April 22, 2014, 9:53 p.m. OK Java 7 TESTS 42 499 15872000 1900
16136807 alibaba C Feb. 18, 2016, 5:58 a.m. OK Java 8 TESTS 42 608 73216000 1900
16136781 alibaba C Feb. 18, 2016, 5:55 a.m. OK Java 8 TESTS 42 686 73216000 1900
15462135 SEFI2 C Jan. 21, 2016, 3:46 a.m. OK Java 8 TESTS 42 701 75161600 1900
9272273 mohamednabil00000 C Dec. 26, 2014, 1:48 a.m. OK Java 8 TESTS 42 733 38604800 1900
58083128 Dukkha C July 31, 2019, 2:33 p.m. OK Java 8 TESTS 42 826 3174400 1900
66430278 yaoct C Dec. 7, 2019, 2:17 a.m. OK Java 8 TESTS 42 826 26624000 1900
6449246 indy256 C April 22, 2014, 10:20 p.m. OK Java 8 TESTS 42 904 2867200 1900
7487184 IgorKoval C Aug. 16, 2014, 8:25 p.m. OK Java 8 TESTS 42 904 3584000 1900
6475743 wadissimo C April 25, 2014, 9:06 p.m. OK Java 8 TESTS 42 966 6860800 1900
6574356 og.kostya C May 8, 2014, 8:16 p.m. OK MS C# TESTS 42 451 17203200 1900
6450204 azukun C April 23, 2014, 2:37 a.m. OK MS C# TESTS 42 655 22630400 1900
6448635 bayleef C April 22, 2014, 7:56 p.m. OK MS C# TESTS 42 748 28569600 1900
6455251 mzhq C April 23, 2014, 3:28 p.m. OK MS C++ TESTS 42 124 7270400 1900
6483743 Rivx C April 27, 2014, 11:28 a.m. OK MS C++ TESTS 42 139 4812800 1900
6451071 lych123 C April 23, 2014, 6:01 a.m. OK MS C++ TESTS 42 139 9523200 1900
6444175 Ilya_MSU C April 22, 2014, 1:09 p.m. OK MS C++ TESTS 42 140 4812800 1900
6539218 L_Ecry C May 3, 2014, 2:12 p.m. OK MS C++ TESTS 42 140 8704000 1900
6536309 vjudge4 C May 3, 2014, 6:11 a.m. OK MS C++ TESTS 42 140 8704000 1900
6536277 vjudge2 C May 3, 2014, 6:06 a.m. OK MS C++ TESTS 42 140 8704000 1900
6444213 Um_nik C April 22, 2014, 1:10 p.m. OK MS C++ TESTS 42 140 15872000 1900
6445664 AleksanderBalobanov C April 22, 2014, 1:46 p.m. OK MS C++ TESTS 42 140 84172800 1900
6451166 SCUTE C April 23, 2014, 6:22 a.m. OK MS C++ TESTS 42 155 13926400 1900

remove filters

Back to search problems