School Personal Contest #2 (Winter Computer School 2010/11) - Codeforces Beta Round 43 (ACM-ICPC Rules)

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
46 School Personal Contest #2 (Winter Computer School 2010/11) - Codeforces Beta Round 43 (ACM-ICPC Rules) FINISHED False 10800 484955985 Dec. 5, 2010, 8 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 358 ) F Hercule Poirot Problem PROGRAMMING dsu graphs 2300

Today you are to solve the problem even the famous Hercule Poirot can't cope with! That's why this crime has not yet been solved and this story was never included in Agatha Christie's detective story books. You are not informed on what crime was committed, when and where the corpse was found and other details. We only know that the crime was committed in a house that has n rooms and m doors between the pairs of rooms. The house residents are very suspicious, that's why all the doors can be locked with keys and all the keys are different. According to the provided evidence on Thursday night all the doors in the house were locked, and it is known in what rooms were the residents, and what kind of keys had any one of them. The same is known for the Friday night, when all the doors were also locked. On Friday it was raining heavily, that's why nobody left the house and nobody entered it. During the day the house residents could open and close doors to the neighboring rooms using the keys at their disposal (every door can be opened and closed from each side); move freely from a room to a room if a corresponding door is open; give keys to one another, being in one room. "Little grey matter" of Hercule Poirot are not capable of coping with such amount of information. Find out if the positions of people and keys on the Thursday night could result in the positions on Friday night, otherwise somebody among the witnesses is surely lying. The first line contains three preset integers n , m и k ( 1 ≤ n , m , k ≤ 1000 ) — the number of rooms, the number of doors and the number of house residents respectively. The next m lines contain pairs of room numbers which join the doors. The rooms are numbered with integers from 1 to n . There cannot be more that one door between the pair of rooms. No door connects a room with itself. The next k lines describe the residents' position on the first night. Every line contains a resident's name (a non-empty line consisting of no more

Tutorials

School Individual Contest #2 (WCS 2010/11) - Codeforces Beta Round #43 (ACM-ICPC Rules). Tasks B, D, E tutorial.

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
208902 tourist F Dec. 5, 2010, 9:22 a.m. OK Delphi TESTS 55 30 1228800 2300
2867926 luogan F Jan. 3, 2013, 12:28 a.m. OK FPC TESTS 55 15 102400 2300
3999521 zscnash F July 1, 2013, 12:30 p.m. OK FPC TESTS 55 31 40345600 2300
210056 taras.klaskovsky F Dec. 5, 2010, 10:12 a.m. OK FPC TESTS 55 60 921600 2300
212915 scottai1 F Dec. 12, 2010, 3:47 a.m. OK GNU C TESTS 55 60 9523200 2300
3783865 vjtest F May 27, 2013, 12:14 p.m. OK GNU C++ TESTS 55 15 204800 2300
3783859 metafluor F May 27, 2013, 12:13 p.m. OK GNU C++ TESTS 55 15 204800 2300
3783812 vjudge5 F May 27, 2013, 12:01 p.m. OK GNU C++ TESTS 55 15 204800 2300
3783742 vjudge2 F May 27, 2013, 11:47 a.m. OK GNU C++ TESTS 55 15 204800 2300
3425221 1Shreesh F March 31, 2013, 2:57 a.m. OK GNU C++ TESTS 55 15 204800 2300
2880902 littlefriend F Jan. 7, 2013, 3:38 p.m. OK GNU C++ TESTS 55 15 204800 2300
2875388 shyoshyohw1 F Jan. 5, 2013, 3 p.m. OK GNU C++ TESTS 55 15 204800 2300
2958591 chnlich F Jan. 19, 2013, 7:17 a.m. OK GNU C++ TESTS 55 15 307200 2300
2848551 weixinding F Dec. 28, 2012, 10:50 a.m. OK GNU C++ TESTS 55 15 614400 2300
4825532 eduardische F Oct. 19, 2013, 2:38 p.m. OK GNU C++ TESTS 55 30 0 2300
2819038 apia F Dec. 23, 2012, 12:20 p.m. OK GNU C++0x TESTS 55 15 204800 2300
2630714 Seasons F Nov. 23, 2012, 8:22 a.m. OK GNU C++0x TESTS 55 46 102400 2300
2610042 dc. F Nov. 21, 2012, 11:46 a.m. OK GNU C++0x TESTS 55 46 102400 2300
2874467 Archon.JK F Jan. 4, 2013, 11:34 p.m. OK GNU C++0x TESTS 55 78 3072000 2300
7939855 M.Mahdi F Sept. 24, 2014, 6:40 p.m. OK GNU C++0x TESTS 55 124 6348800 2300
2800251 llj_bash F Dec. 21, 2012, 5:04 a.m. OK GNU C++0x TESTS 55 562 32665600 2300
22179441 xiqiao F Nov. 12, 2016, 2:15 p.m. OK GNU C++11 TESTS 55 30 102400 2300
33699291 hawkomg F Dec. 28, 2017, 2:52 a.m. OK GNU C++11 TESTS 55 30 2150400 2300
12021626 HellKitsune F July 12, 2015, 5:30 p.m. OK GNU C++11 TESTS 55 60 204800 2300
17083388 freebsdx F April 1, 2016, 1:30 a.m. OK GNU C++11 TESTS 55 60 2867200 2300
47429961 Patti F Dec. 23, 2018, 3:37 p.m. OK GNU C++11 TESTS 55 62 102400 2300
47429093 vjudge4 F Dec. 23, 2018, 3:32 p.m. OK GNU C++11 TESTS 55 62 102400 2300
47395036 luogu_bot1 F Dec. 23, 2018, 10:38 a.m. OK GNU C++11 TESTS 55 62 102400 2300
47387318 vjudge5 F Dec. 23, 2018, 6:02 a.m. OK GNU C++11 TESTS 55 62 102400 2300
47387305 Eric_hooo F Dec. 23, 2018, 6:01 a.m. OK GNU C++11 TESTS 55 62 102400 2300
47384791 vjudge4 F Dec. 23, 2018, 3:18 a.m. OK GNU C++11 TESTS 55 62 102400 2300
36216703 Emma194 F March 12, 2018, 7:14 a.m. OK GNU C++14 TESTS 55 30 2252800 2300
66504236 SMMaster F Dec. 8, 2019, 1:44 p.m. OK GNU C++14 TESTS 55 62 307200 2300
46230663 shoron212 F Nov. 25, 2018, 8:35 p.m. OK GNU C++14 TESTS 55 62 716800 2300
34212134 Cyanic F Jan. 16, 2018, 4:05 a.m. OK GNU C++14 TESTS 55 62 2662400 2300
25266754 Husniddin351 F March 5, 2017, 3:53 p.m. OK GNU C++14 TESTS 55 62 2764800 2300
23494522 Ali.Pi F Jan. 2, 2017, 7:19 a.m. OK GNU C++14 TESTS 55 62 10240000 2300
56015700 sorry_im_smurfing F June 24, 2019, 9 p.m. OK GNU C++14 TESTS 55 92 204800 2300
27071187 Minology F May 13, 2017, 8:09 a.m. OK GNU C++14 TESTS 55 92 204800 2300
58793226 guanhuai04 F Aug. 14, 2019, 3:33 a.m. OK GNU C++14 TESTS 55 92 2252800 2300
55583885 luogu_bot5 F June 15, 2019, 8:22 a.m. OK GNU C++14 TESTS 55 92 2252800 2300
37899148 ruo F May 5, 2018, 7:44 a.m. OK GNU C++17 TESTS 55 60 3584000 2300
47550810 vjudge5 F Dec. 27, 2018, 12:54 p.m. OK GNU C++17 TESTS 55 62 307200 2300
47550806 vjudge2 F Dec. 27, 2018, 12:54 p.m. OK GNU C++17 TESTS 55 62 307200 2300
47550801 vjudge3 F Dec. 27, 2018, 12:54 p.m. OK GNU C++17 TESTS 55 62 307200 2300
49629622 kenimo F Feb. 8, 2019, 1:37 p.m. OK GNU C++17 TESTS 55 62 512000 2300
48513908 vjudge1 F Jan. 18, 2019, 1:47 a.m. OK GNU C++17 TESTS 55 62 2252800 2300
47450031 vjudge1 F Dec. 24, 2018, 9 a.m. OK GNU C++17 TESTS 55 62 2252800 2300
47450015 vjudge2 F Dec. 24, 2018, 9 a.m. OK GNU C++17 TESTS 55 62 2252800 2300
55585179 Dalenator F June 15, 2019, 9:05 a.m. OK GNU C++17 TESTS 55 62 11673600 2300
47459103 vjudge3 F Dec. 24, 2018, 2:08 p.m. OK GNU C++17 TESTS 55 92 409600 2300
211766 SergeyLazarev F Dec. 5, 2010, 2:45 p.m. OK Java 6 TESTS 55 140 43520000 2300
212429 pius_88 F Dec. 6, 2010, 9:19 p.m. OK Java 6 TESTS 55 220 43315200 2300
211876 uwi F Dec. 5, 2010, 4:58 p.m. OK Java 6 TESTS 55 390 43827200 2300
211245 S.Yesipenko F Dec. 5, 2010, 10:59 a.m. OK Java 6 TESTS 55 590 43315200 2300
212109 YuukaKazami F Dec. 6, 2010, 8:39 a.m. OK Java 6 TESTS 55 860 43315200 2300
208393 Petr F Dec. 5, 2010, 9:03 a.m. OK Java 6 TESTS 55 880 45568000 2300
210832 SpookyCookie F Dec. 5, 2010, 10:47 a.m. OK Java 6 TESTS 55 1300 49356800 2300
7293752 owenomar F July 30, 2014, 2:54 p.m. OK Java 7 TESTS 55 998 3891200 2300
18291327 2016 F June 7, 2016, 11:02 p.m. OK Java 8 TESTS 55 1184 21606400 2300
7293751 owenomar F July 30, 2014, 2:54 p.m. OK Java 8 TESTS 55 1340 7168000 2300
210634 dragoon F Dec. 5, 2010, 10:40 a.m. OK MS C++ TESTS 55 30 1740800 2300
211438 IvayloS F Dec. 5, 2010, 11:33 a.m. OK MS C++ TESTS 55 30 2252800 2300
248807 starvae F Jan. 14, 2011, 4:52 a.m. OK MS C++ TESTS 55 50 1638400 2300
248806 starvae F Jan. 14, 2011, 4:51 a.m. OK MS C++ TESTS 55 50 1638400 2300
210053 Gerald F Dec. 5, 2010, 10:12 a.m. OK MS C++ TESTS 55 50 1638400 2300
211358 Borisp F Dec. 5, 2010, 11:12 a.m. OK MS C++ TESTS 55 50 3584000 2300
11337712 Amr_Hassan F May 28, 2015, 7:16 p.m. OK MS C++ TESTS 55 60 409600 2300
4825471 pooya_ F Oct. 19, 2013, 2:31 p.m. OK MS C++ TESTS 55 62 204800 2300
11279917 Athee F May 26, 2015, 2:18 p.m. OK MS C++ TESTS 55 62 307200 2300
13550030 NVAL F Oct. 11, 2015, 6:25 p.m. OK MS C++ TESTS 55 62 25702400 2300

remove filters

Back to search problems