Codeforces Round 266 (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
466 Codeforces Round 266 (Div. 2) FINISHED False 7200 327076204 Sept. 12, 2014, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 2295 ) E Information Graph PROGRAMMING dfs and similar ds graphs trees 2400

B'There are n employees working in company "X" (let 's number them from 1 to n for convenience). Initially the employees didn 't have any relationships among each other. On each of m next days one of the following events took place: Your task is to write a program that will, given the events, answer the queries of the described type. At that, it is guaranteed that throughout the whole working time the company didn 't have cyclic dependencies. The first line contains two 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 employees and the number of events. Each of the next m lines contains the description of one event (the events are given in the chronological order). The first number of the line determines the type of event t (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t xe2 x80 x89 xe2 x89 xa4 xe2 x80 x893). It is guaranteed that the input has at least one query of the third type. For each query of the third type print "YES" if the employee signed the document package and "NO" otherwise. Print all the words without the quotes.'...

Tutorials

Editorial Codeforces Round #266 (Div. 2)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
40988004 ReaLNero1 E July 30, 2018, 9:40 p.m. OK GNU C++ TESTS 33 46 5632000 2400
41945556 Bation_King E Aug. 21, 2018, 6:23 p.m. OK GNU C++ TESTS 33 498 9011200 2400
40833986 bojverdict2 E July 27, 2018, 6:54 a.m. OK GNU C++ TESTS 33 608 3993600 2400
61288983 rainboy E Sept. 25, 2019, 7:41 p.m. OK GNU C11 TESTS 33 202 11980800 2400
49235715 vjudge4 E Jan. 31, 2019, 7:54 a.m. OK GNU C++11 TESTS 33 31 7680000 2400
45583884 LuckyAurora E Nov. 12, 2018, 6:54 a.m. OK GNU C++11 TESTS 33 46 7168000 2400
52751008 luogu_bot4 E April 14, 2019, 2:02 p.m. OK GNU C++11 TESTS 33 46 13312000 2400
43069848 zbtrs E Sept. 19, 2018, 8:26 a.m. OK GNU C++11 TESTS 33 62 5427200 2400
44680777 pedrohlf E Oct. 22, 2018, 6:14 a.m. OK GNU C++11 TESTS 33 62 7782400 2400
49614910 Sherek E Feb. 8, 2019, 5:25 a.m. OK GNU C++11 TESTS 33 62 9011200 2400
43070275 zbtrs E Sept. 19, 2018, 8:45 a.m. OK GNU C++11 TESTS 33 62 12390400 2400
47350273 RobeZH E Dec. 22, 2018, 1:49 a.m. OK GNU C++11 TESTS 33 62 19865600 2400
53959018 strawberrry E May 10, 2019, 1:11 p.m. OK GNU C++11 TESTS 33 77 6144000 2400
55235088 NRK7 E June 7, 2019, 7:57 a.m. OK GNU C++11 TESTS 33 77 9011200 2400
44449721 Samaritan123 E Oct. 17, 2018, 3:21 p.m. OK GNU C++14 TESTS 33 77 3072000 2400
50817765 fblogy E March 5, 2019, 12:15 p.m. OK GNU C++14 TESTS 33 77 6656000 2400
62975573 Qu0cNguyen E Oct. 20, 2019, 8:28 a.m. OK GNU C++14 TESTS 33 77 8294400 2400
61280513 Rogue33 E Sept. 25, 2019, 4:49 p.m. OK GNU C++14 TESTS 33 77 8396800 2400
47542235 nitishk24 E Dec. 27, 2018, 7:48 a.m. OK GNU C++14 TESTS 33 77 9728000 2400
51547944 drastogi21 E March 19, 2019, 9:21 p.m. OK GNU C++14 TESTS 33 77 10444800 2400
67632158 L_lawliet27 E Dec. 26, 2019, 4:45 a.m. OK GNU C++14 TESTS 33 77 11468800 2400
61577050 TwentyOneHundredOrBust E Sept. 30, 2019, 9:38 p.m. OK GNU C++14 TESTS 33 77 12595200 2400
41312538 Adibov E Aug. 7, 2018, 5:08 p.m. OK GNU C++14 TESTS 33 77 12595200 2400
54147896 TISparta E May 14, 2019, 8:47 p.m. OK GNU C++14 TESTS 33 77 20684800 2400
41580420 vjudge4 E Aug. 14, 2018, 7:46 a.m. OK GNU C++17 TESTS 33 46 8089600 2400
50069022 AliShahali1382 E Feb. 17, 2019, 4:30 p.m. OK GNU C++17 TESTS 33 77 5632000 2400
60232361 Phortox E Sept. 7, 2019, 4:55 p.m. OK GNU C++17 TESTS 33 77 8294400 2400
48455736 JovanB E Jan. 16, 2019, 12:35 p.m. OK GNU C++17 TESTS 33 77 8704000 2400
54413888 Abhi1998 E May 20, 2019, 11:31 a.m. OK GNU C++17 TESTS 33 77 9420800 2400
59261399 rareone0602 E Aug. 22, 2019, 8:46 a.m. OK GNU C++17 TESTS 33 77 9932800 2400
54724422 cristian1997 E May 27, 2019, 7:20 p.m. OK GNU C++17 TESTS 33 77 13824000 2400
64750234 Kot-Skazochnik E Nov. 12, 2019, 2:58 p.m. OK GNU C++17 TESTS 33 77 16691200 2400
67384985 meowmeow321 E Dec. 21, 2019, 5:30 p.m. OK GNU C++17 TESTS 33 77 19968000 2400
49932976 Vahm E Feb. 15, 2019, 5:50 a.m. OK GNU C++17 TESTS 33 77 41574400 2400
61288982 Dukkha E Sept. 25, 2019, 7:41 p.m. OK Java 8 TESTS 33 389 7065600 2400
52007988 vjudge2 E March 30, 2019, 8:16 a.m. OK MS C++ TESTS 33 436 1843200 2400
64529948 femperox E Nov. 8, 2019, 3:05 p.m. OK MS C++ 2017 TESTS 33 108 6656000 2400
64532709 femperox E Nov. 8, 2019, 3:57 p.m. OK MS C++ 2017 TESTS 33 109 6656000 2400
64532540 femperox E Nov. 8, 2019, 3:53 p.m. OK MS C++ 2017 TESTS 33 109 6656000 2400
65737868 femperox E Nov. 26, 2019, 8:44 a.m. OK MS C++ 2017 TESTS 33 124 6656000 2400
59422961 Sanqer E Aug. 24, 2019, 10:48 p.m. OK MS C++ 2017 TESTS 33 374 11366400 2400
63508778 femperox E Oct. 26, 2019, 7:42 p.m. OK MS C++ 2017 TESTS 33 468 1638400 2400
63510990 femperox E Oct. 26, 2019, 8:34 p.m. OK MS C++ 2017 TESTS 33 701 1740800 2400
60503114 meooow E Sept. 13, 2019, 7:46 p.m. OK PyPy 3 TESTS 33 389 29593600 2400
60503168 meooow E Sept. 13, 2019, 7:48 p.m. OK Python 3 TESTS 33 623 32051200 2400
60503196 meooow E Sept. 13, 2019, 7:49 p.m. OK Python 3 TESTS 33 717 28672000 2400

remove filters

Back to search problems