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 339529257 April 22, 2014, 12:19 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1050 ) B Online Meeting PROGRAMMING implementation 1800

B"Nearly each project of the F company has a whole team of developers working on it. They often are in different rooms of the office in different cities and even countries. To keep in touch and track the results of the project, the F company conducts shared online meetings in a Spyke chat. One day the director of the F company got hold of the records of a part of an online meeting of one successful team. The director watched the record and wanted to talk to the team leader. But how can he tell who the leader is? The director logically supposed that the leader is the person who is present at any conversation during a chat meeting. In other words, if at some moment of time at least one person is present on the meeting, then the leader is present on the meeting. You are the assistant director. Given the 'user logged on'/'user logged off' messages of the meeting in the chronological order, help the director determine who can be the leader. Note that the director has the record of only a continuous part of the meeting (probably, it's not the whole meeting). The first line contains integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89105) -- the number of team participants and the number of messages. Each of the next m lines contains a message in the format: Assume that all the people of the team are numbered from 1 to n and the messages are given in the chronological order. It is guaranteed that the given sequence is the correct record of a continuous part of the meeting. It is guaranteed that no two log on/log off events occurred simultaneously. In the first line print integer k (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n) -- how many people can be leaders. In the next line, print k integers in the increasing order -- the numbers of the people who can be leaders. If the data is such that no member of the team can be a leader, print a single number 0."...

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
55970818 rr_ B June 23, 2019, 2:41 p.m. OK D TESTS 61 140 11878400 1800
6454973 Misha100896 B April 23, 2014, 2:52 p.m. OK Delphi TESTS 61 31 7065600 1800
10542221 AHTuTTuTyX B April 1, 2015, 1:28 p.m. OK Delphi TESTS 61 31 20070400 1800
6459241 graceoflives B April 24, 2014, 9:23 a.m. OK FPC TESTS 61 31 2662400 1800
7038797 gyz_gyz B July 7, 2014, 7:50 a.m. OK FPC TESTS 61 171 2457600 1800
6445077 valeriy.stromov B April 22, 2014, 1:31 p.m. OK FPC TESTS 60 171 5120000 1800
6442925 Alex_2oo8 B April 22, 2014, 12:43 p.m. OK FPC TESTS 60 186 512000 1800
6536141 vjudge1 B May 3, 2014, 5:42 a.m. OK FPC TESTS 61 186 11059200 1800
6443985 venus.le197 B April 22, 2014, 1:05 p.m. OK FPC TESTS 60 187 1126400 1800
6444034 TiChuot97 B April 22, 2014, 1:06 p.m. OK FPC TESTS 60 187 1638400 1800
6443570 SanSiroWaltz B April 22, 2014, 12:55 p.m. OK FPC TESTS 60 187 2969600 1800
6446488 NUOUN B April 22, 2014, 2:06 p.m. OK FPC TESTS 60 187 11980800 1800
7039095 vjudge4 B July 7, 2014, 8:28 a.m. OK GNU C TESTS 61 46 3584000 1800
6443185 scipianus B April 22, 2014, 12:47 p.m. OK GNU C++ TESTS 60 31 921600 1800
6449457 colin B April 22, 2014, 11:36 p.m. OK GNU C++ TESTS 61 31 1638400 1800
6446093 CA72 B April 22, 2014, 1:57 p.m. OK GNU C++ TESTS 60 31 1843200 1800
6445756 mpivko B April 22, 2014, 1:49 p.m. OK GNU C++ TESTS 60 31 1843200 1800
6444291 MHR B April 22, 2014, 1:12 p.m. OK GNU C++ TESTS 60 31 2150400 1800
6446670 3111006139 B April 22, 2014, 2:11 p.m. OK GNU C++ TESTS 60 31 2457600 1800
6462760 Maxim B April 24, 2014, 9:07 p.m. OK GNU C++ TESTS 61 46 204800 1800
6462743 Maxim B April 24, 2014, 8:57 p.m. OK GNU C++ TESTS 61 46 204800 1800
6444099 zxybazh B April 22, 2014, 1:07 p.m. OK GNU C++ TESTS 60 46 204800 1800
6477839 Sky-J B April 26, 2014, 8:32 a.m. OK GNU C++ TESTS 61 46 409600 1800
6443627 Arterm B April 22, 2014, 12:56 p.m. OK GNU C++0x TESTS 60 31 1433600 1800
6511314 wakaka B April 30, 2014, 3:08 p.m. OK GNU C++0x TESTS 61 46 921600 1800
6443539 master_miu B April 22, 2014, 12:55 p.m. OK GNU C++0x TESTS 60 46 1024000 1800
6474838 Swistakk B April 25, 2014, 5:05 p.m. OK GNU C++0x TESTS 61 46 1638400 1800
7287346 niquefa_diego B July 29, 2014, 6:35 p.m. OK GNU C++0x TESTS 61 46 1843200 1800
6443085 adamant B April 22, 2014, 12:45 p.m. OK GNU C++0x TESTS 60 46 1945600 1800
6445368 pikapika B April 22, 2014, 1:38 p.m. OK GNU C++0x TESTS 60 46 2252800 1800
6449282 yuusti B April 22, 2014, 10:39 p.m. OK GNU C++0x TESTS 61 46 2764800 1800
6451288 rares.buhai B April 23, 2014, 6:48 a.m. OK GNU C++0x TESTS 61 46 4096000 1800
8756127 aliasadiiii B Nov. 19, 2014, 2:28 p.m. OK GNU C++0x TESTS 61 46 4812800 1800
55303515 Sunnat B June 8, 2019, 1:05 p.m. OK GNU C++11 TESTS 61 46 819200 1800
13134147 JohStraat B Sept. 22, 2015, 1:41 a.m. OK GNU C++11 TESTS 61 46 819200 1800
15159186 rouder B Jan. 2, 2016, 2:04 p.m. OK GNU C++11 TESTS 61 46 921600 1800
54502106 WOSHIGEPACHONG2 B May 22, 2019, 9:49 p.m. OK GNU C++11 TESTS 61 46 1433600 1800
15966215 suchir B Feb. 12, 2016, 5:19 a.m. OK GNU C++11 TESTS 61 46 15872000 1800
44746679 Prime21 B Oct. 23, 2018, 5:15 p.m. OK GNU C++11 TESTS 61 61 1228800 1800
53771887 gmhg B May 5, 2019, 6 a.m. OK GNU C++11 TESTS 61 61 1433600 1800
19010343 huantwofat B July 10, 2016, 1:12 p.m. OK GNU C++11 TESTS 61 61 2457600 1800
47337807 Prime21 B Dec. 21, 2018, 3:55 p.m. OK GNU C++11 TESTS 61 62 614400 1800
31727887 The-Legend B Oct. 26, 2017, 3:57 a.m. OK GNU C++11 TESTS 61 62 1228800 1800
27395483 LiChenKoh B May 27, 2017, 6:29 p.m. OK GNU C++14 TESTS 61 31 4403200 1800
30368089 please_delete_account B Sept. 15, 2017, 4:55 p.m. OK GNU C++14 TESTS 61 46 1024000 1800
64275532 stefdasca B Nov. 4, 2019, 9:08 p.m. OK GNU C++14 TESTS 61 46 1638400 1800
29531795 AshishYadav B Aug. 17, 2017, 5:37 p.m. OK GNU C++14 TESTS 61 46 1843200 1800
20792651 Motarack B Sept. 21, 2016, 11:02 a.m. OK GNU C++14 TESTS 61 46 2048000 1800
64275562 stefdasca B Nov. 4, 2019, 9:09 p.m. OK GNU C++14 TESTS 61 61 1638400 1800
69846332 balbit B Jan. 30, 2020, 2:25 p.m. OK GNU C++14 TESTS 61 61 2457600 1800
24345700 natsugiri B Feb. 1, 2017, 1:57 p.m. OK GNU C++14 TESTS 61 61 4096000 1800
24741237 WeAreTheFlame B Feb. 17, 2017, 4:14 p.m. OK GNU C++14 TESTS 61 61 4608000 1800
51884968 vjudge4 B March 27, 2019, 5:40 a.m. OK GNU C++14 TESTS 61 61 5836800 1800
56412605 vjudge5 B July 2, 2019, 1:45 a.m. OK GNU C++17 TESTS 61 61 1740800 1800
59372879 FlowerOfSorrow B Aug. 23, 2019, 7:56 p.m. OK GNU C++17 TESTS 61 61 4300800 1800
55654797 yuhta B June 16, 2019, 4:37 p.m. OK GNU C++17 TESTS 61 62 819200 1800
46892458 pranav_012 B Dec. 11, 2018, 7:08 a.m. OK GNU C++17 TESTS 61 62 921600 1800
59371889 tfg B Aug. 23, 2019, 7:29 p.m. OK GNU C++17 TESTS 61 62 1945600 1800
69280104 AM. B Jan. 22, 2020, 5:26 a.m. OK GNU C++17 TESTS 61 62 3174400 1800
38097077 nhtrnm B May 10, 2018, 4:34 p.m. OK GNU C++17 TESTS 61 62 3993600 1800
65680101 dorijanlendvaj B Nov. 24, 2019, 7:34 p.m. OK GNU C++17 TESTS 61 62 7577600 1800
40844950 3agwa B July 27, 2018, 11:29 a.m. OK GNU C++17 TESTS 61 78 5427200 1800
40838592 MahmoudHamdyY B July 27, 2018, 8:35 a.m. OK GNU C++17 TESTS 61 93 8294400 1800
6475949 meridional B April 25, 2014, 10:59 p.m. OK Haskell TESTS 61 889 36966400 1800
6475950 vjudge1 B April 25, 2014, 11 p.m. OK Haskell TESTS 61 920 36966400 1800
7207060 vjudge4 B July 23, 2014, 8:10 a.m. OK Java 6 TESTS 61 561 204800 1800
7207008 vjudge1 B July 23, 2014, 8:03 a.m. OK Java 6 TESTS 61 576 204800 1800
9730444 control9 B Feb. 5, 2015, 6:12 p.m. OK Java 6 TESTS 61 623 0 1800
6451211 uwi B April 23, 2014, 6:32 a.m. OK Java 7 TESTS 61 93 0 1800
6444121 KNIGHT0X300 B April 22, 2014, 1:08 p.m. OK Java 7 TESTS 60 108 102400 1800
6449269 indy256 B April 22, 2014, 10:30 p.m. OK Java 7 TESTS 61 109 0 1800
6449057 Egor B April 22, 2014, 9:14 p.m. OK Java 7 TESTS 61 109 0 1800
6448518 mmaxio B April 22, 2014, 7:42 p.m. OK Java 7 TESTS 61 124 0 1800
6445415 0p9o8i B April 22, 2014, 1:40 p.m. OK Java 7 TESTS 60 124 0 1800
6444909 savinov B April 22, 2014, 1:28 p.m. OK Java 7 TESTS 60 124 0 1800
6444218 sievmi B April 22, 2014, 1:10 p.m. OK Java 7 TESTS 60 124 0 1800
8995552 aladdin3 B Dec. 5, 2014, 9:59 p.m. OK Java 7 TESTS 61 124 102400 1800
6450167 Vbifial B April 23, 2014, 2:31 a.m. OK Java 7 TESTS 61 124 102400 1800
13203985 Abkreno94 B Sept. 24, 2015, 12:31 p.m. OK Java 8 TESTS 61 171 0 1800
10407331 alibaba B March 23, 2015, 7:03 a.m. OK Java 8 TESTS 61 171 0 1800
25461187 Slamur B March 13, 2017, 7:45 p.m. OK Java 8 TESTS 61 202 27750400 1800
47376644 KulikAlex B Dec. 22, 2018, 5:47 p.m. OK Java 8 TESTS 61 280 4300800 1800
6444049 Sokolov B April 22, 2014, 1:06 p.m. OK Java 8 TESTS 60 483 2560000 1800
12898103 Martial B Sept. 8, 2015, 1:25 p.m. OK Java 8 TESTS 61 592 0 1800
6823614 zyt144 B June 6, 2014, 1:19 a.m. OK Java 8 TESTS 61 795 6348800 1800
6482381 kalrashi B April 27, 2014, 6:16 a.m. OK MS C# TESTS 61 93 6656000 1800
6444172 azukun B April 22, 2014, 1:09 p.m. OK MS C# TESTS 60 155 12288000 1800
6588001 mehsanul B May 11, 2014, 3:23 p.m. OK MS C# TESTS 61 499 6553600 1800
6446428 last_one B April 22, 2014, 2:05 p.m. OK MS C++ TESTS 60 46 1843200 1800
6450736 Carups B April 23, 2014, 4:49 a.m. OK MS C++ TESTS 61 46 2048000 1800
6449965 lost3030 B April 23, 2014, 1:44 a.m. OK MS C++ TESTS 61 46 2355200 1800
6445671 blueseen B April 22, 2014, 1:46 p.m. OK MS C++ TESTS 60 46 2662400 1800
6443556 Vlad_kv B April 22, 2014, 12:55 p.m. OK MS C++ TESTS 60 61 204800 1800
10179838 a88027180 B March 6, 2015, 4:40 p.m. OK MS C++ TESTS 61 61 1126400 1800
6448496 caustique B April 22, 2014, 7:40 p.m. OK MS C++ TESTS 61 61 1228800 1800
6537464 vjudge1 B May 3, 2014, 9:02 a.m. OK MS C++ TESTS 61 61 1331200 1800
6455855 _TMB_ B April 23, 2014, 5:15 p.m. OK MS C++ TESTS 61 61 4710400 1800
6442934 cfy B April 22, 2014, 12:43 p.m. OK MS C++ TESTS 60 61 4710400 1800
43107292 weskerhluffy B Sept. 20, 2018, 9:27 a.m. OK Python 3 TESTS 61 670 17203200 1800

remove filters

Back to search problems