Codeforces Round 200 (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
344 Codeforces Round 200 (Div. 2) FINISHED False 7800 352650599 Sept. 14, 2013, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 8888 ) B Simple Molecules PROGRAMMING brute force graphs math 1300

B'Mad scientist Mike is busy carrying out experiments in chemistry. Today he will attempt to join three atoms into one molecule. A molecule consists of atoms, with some pairs of atoms connected by atomic bonds. Each atom has a valence number -- the number of bonds the atom must form with other atoms. An atom can form one or multiple bonds with any other atom, but it cannot form a bond with itself. The number of bonds of an atom in the molecule must be equal to its valence number. Mike knows valence numbers of the three atoms. Find a molecule that can be built from these atoms according to the stated rules, or determine that it is impossible. The single line of the input contains three space-separated integers a, b and c (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89a, xe2 x80 x89b, xe2 x80 x89c xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106) -- the valence numbers of the given atoms. If such a molecule can be built, print three space-separated integers -- the number of bonds between the 1-st and the 2-nd, the 2-nd and the 3-rd, the 3-rd and the 1-st atoms, correspondingly. If there are multiple solutions, output any of them. If there is no solution, print "Impossible" (without the quotes). The first sample corresponds to the first figure. There are no bonds between atoms 1 and 2 in this case. The second sample corresponds to the second figure. There is one or more bonds between each pair of atoms. The third sample corresponds to the third figure. There is no solution, because an atom cannot form bonds with itself. The configuration in the fourth figure is impossible as each atom must have at least one atomic bond.'...

Tutorials

Codeforces Round #200 Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
15235142 vjudge4 B Jan. 8, 2016, 10:06 a.m. OK FPC TESTS 32 30 0 1300
15171491 vjudge2 B Jan. 3, 2016, 5:59 p.m. OK FPC TESTS 32 30 0 1300
15592183 vjudge4 B Jan. 26, 2016, 11:50 a.m. OK FPC TESTS 32 30 0 1300
22898632 ice_tea B Dec. 12, 2016, 6:29 a.m. OK FPC TESTS 32 30 0 1300
15721718 krasko_s B Jan. 31, 2016, 11:50 p.m. OK FPC TESTS 32 30 0 1300
32892484 T.S.H.T B Dec. 3, 2017, 6:57 a.m. OK FPC TESTS 32 30 1638400 1300
23551499 KiberGraf B Jan. 5, 2017, 9:20 a.m. OK FPC TESTS 32 30 1638400 1300
23215873 Jicote B Dec. 22, 2016, 1:50 a.m. OK FPC TESTS 32 30 1740800 1300
37393119 zubik6 B April 17, 2018, 11:07 a.m. OK FPC TESTS 32 60 3072000 1300
42971158 chaorenhaha B Sept. 17, 2018, 6:28 a.m. OK FPC TESTS 32 62 0 1300
15569463 soconfused B Jan. 25, 2016, 8:20 a.m. OK GNU C TESTS 32 30 0 1300
39191852 indianfootball B June 12, 2018, 12:50 p.m. OK GNU C TESTS 32 30 0 1300
32107095 fed21 B Nov. 6, 2017, 11:12 p.m. OK GNU C TESTS 32 30 0 1300
27665090 batmanwannaB B June 8, 2017, 7:06 a.m. OK GNU C TESTS 32 30 0 1300
22522668 aditya.todi B Nov. 27, 2016, 8:29 a.m. OK GNU C TESTS 32 30 0 1300
21735807 Rizro B Oct. 24, 2016, 8:05 a.m. OK GNU C TESTS 32 30 0 1300
17327714 double301 B April 15, 2016, 1:49 p.m. OK GNU C TESTS 32 30 0 1300
16220399 bossam6170 B Feb. 20, 2016, 4:36 a.m. OK GNU C TESTS 32 30 0 1300
15899748 fahimfarhan B Feb. 8, 2016, 5:19 p.m. OK GNU C TESTS 32 30 0 1300
15757338 Hamzqq9 B Feb. 2, 2016, 7:47 p.m. OK GNU C TESTS 32 30 0 1300
39282870 Mayonaise B June 16, 2018, 8:52 a.m. OK GNU C++ TESTS 32 30 0 1300
32505486 sartech B Nov. 20, 2017, 4:14 p.m. OK GNU C++ TESTS 32 30 0 1300
32148500 ElPricipe B Nov. 8, 2017, 11:55 p.m. OK GNU C++ TESTS 32 30 0 1300
31868651 vjudge2 B Oct. 29, 2017, 1:54 p.m. OK GNU C++ TESTS 32 30 0 1300
31208593 vjudge5 B Oct. 11, 2017, 6:53 a.m. OK GNU C++ TESTS 32 30 0 1300
31091983 vjudge2 B Oct. 6, 2017, 7:41 p.m. OK GNU C++ TESTS 32 30 0 1300
31091964 vjudge4 B Oct. 6, 2017, 7:40 p.m. OK GNU C++ TESTS 32 30 0 1300
31090445 vjudge3 B Oct. 6, 2017, 6:35 p.m. OK GNU C++ TESTS 32 30 0 1300
31090293 vjudge4 B Oct. 6, 2017, 6:30 p.m. OK GNU C++ TESTS 32 30 0 1300
31088159 vjudge1 B Oct. 6, 2017, 5:16 p.m. OK GNU C++ TESTS 32 30 0 1300
22832143 Maanik B Dec. 9, 2016, 11:40 a.m. OK GNU C11 TESTS 32 30 0 1300
35750545 2017ccut_wuqishuo B Feb. 27, 2018, 3:42 a.m. OK GNU C11 TESTS 32 30 1945600 1300
61929400 MOHIR_MBSTU B Oct. 5, 2019, 3:46 p.m. OK GNU C11 TESTS 32 62 0 1300
61929338 vjudge5 B Oct. 5, 2019, 3:44 p.m. OK GNU C11 TESTS 32 62 0 1300
61852385 vjudge1 B Oct. 4, 2019, 1:04 p.m. OK GNU C11 TESTS 32 62 0 1300
60596670 cs234_shrey B Sept. 15, 2019, 6:05 a.m. OK GNU C11 TESTS 32 62 0 1300
60590244 wir B Sept. 15, 2019, 1:33 a.m. OK GNU C11 TESTS 32 62 0 1300
60573779 kaiboy B Sept. 14, 2019, 3:46 p.m. OK GNU C11 TESTS 32 62 0 1300
60589999 kaiboy B Sept. 15, 2019, 1:19 a.m. OK GNU C11 TESTS 32 62 0 1300
62584375 akash19jain B Oct. 14, 2019, 6:16 p.m. OK GNU C11 TESTS 32 62 0 1300
32183699 panda_cod B Nov. 10, 2017, 12:44 a.m. OK GNU C++11 TESTS 32 30 0 1300
59082676 slowman B Aug. 19, 2019, 9:48 a.m. OK GNU C++11 TESTS 32 30 0 1300
49185854 Lu_Anlai B Jan. 30, 2019, 5:58 a.m. OK GNU C++11 TESTS 32 30 0 1300
32308470 ghassen.daoudi B Nov. 14, 2017, 10:23 a.m. OK GNU C++11 TESTS 32 30 0 1300
32204720 Rpd-Strike B Nov. 10, 2017, 7:43 p.m. OK GNU C++11 TESTS 32 30 0 1300
32203560 aymenloco B Nov. 10, 2017, 6:45 p.m. OK GNU C++11 TESTS 32 30 0 1300
32183143 H_Alderson B Nov. 9, 2017, 11:35 p.m. OK GNU C++11 TESTS 32 30 0 1300
32130631 _CHI_CHI_ B Nov. 7, 2017, 9:02 p.m. OK GNU C++11 TESTS 32 30 0 1300
31952647 youssefsellami B Nov. 1, 2017, 2:04 p.m. OK GNU C++11 TESTS 32 30 0 1300
31818008 khaleesi B Oct. 27, 2017, 7:49 p.m. OK GNU C++11 TESTS 32 30 0 1300
51912339 InvincibleMario B March 27, 2019, 6:53 p.m. OK GNU C++14 TESTS 32 30 0 1300
52239505 marksman_ B April 2, 2019, 3:12 p.m. OK GNU C++14 TESTS 32 30 0 1300
53427975 juarez.paulino B April 27, 2019, 2:39 p.m. OK GNU C++14 TESTS 32 30 0 1300
54858497 HadiaBarakat B May 30, 2019, 10:01 p.m. OK GNU C++14 TESTS 32 30 0 1300
55596703 cd_mas7er B June 15, 2019, 3:26 p.m. OK GNU C++14 TESTS 32 30 0 1300
56418522 chelseafc1390 B July 2, 2019, 6:10 a.m. OK GNU C++14 TESTS 32 30 0 1300
60242708 vjudge4 B Sept. 7, 2019, 10:49 p.m. OK GNU C++14 TESTS 32 30 0 1300
66018724 vjudge2 B Nov. 30, 2019, 6:32 a.m. OK GNU C++14 TESTS 32 30 0 1300
66589122 arijeet_16 B Dec. 10, 2019, 12:20 p.m. OK GNU C++14 TESTS 32 30 0 1300
68120416 EXtreme_Evil B Jan. 3, 2020, 1:06 p.m. OK GNU C++14 TESTS 32 30 0 1300
69857579 Gamblergambler B Jan. 30, 2020, 5:27 p.m. OK GNU C++17 TESTS 32 30 0 1300
67966066 Skybytskyi.Nikita B Dec. 30, 2019, 1:23 p.m. OK GNU C++17 TESTS 32 30 0 1300
67307651 NexZap B Dec. 20, 2019, 10:46 p.m. OK GNU C++17 TESTS 32 30 0 1300
62072724 v-O_O-v B Oct. 7, 2019, 5:14 p.m. OK GNU C++17 TESTS 32 30 0 1300
60241761 vjudge4 B Sept. 7, 2019, 9:56 p.m. OK GNU C++17 TESTS 32 30 0 1300
58240373 kinjalik B Aug. 4, 2019, 12:03 a.m. OK GNU C++17 TESTS 32 30 0 1300
57880054 ken_adams B July 28, 2019, 7:21 a.m. OK GNU C++17 TESTS 32 30 0 1300
54173393 rid.dle B May 15, 2019, 12:37 p.m. OK GNU C++17 TESTS 32 30 0 1300
51685832 vjudge4 B March 22, 2019, 2:30 p.m. OK GNU C++17 TESTS 32 30 0 1300
49947685 Gertab B Feb. 15, 2019, 12:45 p.m. OK GNU C++17 TESTS 32 30 0 1300
20654863 pavel.rosputko B Sept. 16, 2016, 7:36 a.m. OK Haskell TESTS 32 30 102400 1300
66810407 zhanyi_xiaolu B Dec. 14, 2019, 1:46 a.m. OK Java 11 TESTS 32 436 102400 1300
69536689 vinnay B Jan. 25, 2020, 7:11 p.m. OK Java 11 TESTS 32 436 102400 1300
18269542 hala333 B June 6, 2016, 11:33 a.m. OK Java 7 TESTS 32 186 38912000 1300
18764463 MazzForces B June 28, 2016, 8:45 a.m. OK Java 7 TESTS 32 216 0 1300
18497923 amr_hendy B June 15, 2016, 1:10 p.m. OK Java 7 TESTS 32 218 39321600 1300
17545211 tihcar B April 27, 2016, 6:25 p.m. OK Java 7 TESTS 32 248 38912000 1300
18499409 amr_hendy B June 15, 2016, 2:18 p.m. OK Java 7 TESTS 32 248 39424000 1300
19481538 parth015 B July 29, 2016, 2:16 p.m. OK Java 7 TESTS 32 278 0 1300
69894534 MubtasimShahriar B Jan. 31, 2020, 11:18 a.m. OK Java 8 TESTS 32 218 0 1300
63735568 pprabh2007 B Oct. 29, 2019, 3:13 p.m. OK Java 8 TESTS 32 218 0 1300
59256736 lansergecs B Aug. 22, 2019, 7 a.m. OK Java 8 TESTS 32 218 0 1300
50418196 saurabhs1206 B Feb. 24, 2019, 7:44 a.m. OK Java 8 TESTS 32 218 0 1300
48563368 viratK B Jan. 19, 2019, 8:24 a.m. OK Java 8 TESTS 32 218 0 1300
48196340 Gr8tor B Jan. 10, 2019, 10:37 p.m. OK Java 8 TESTS 32 218 0 1300
19495591 Qazaqstan B July 29, 2016, 4:34 p.m. OK Java 8 TESTS 32 218 0 1300
16318808 kirik13 B Feb. 25, 2016, 1:27 a.m. OK Java 8 TESTS 32 218 0 1300
19751052 Dukkha B Aug. 9, 2016, 4:44 p.m. OK Java 8 TESTS 32 218 20377600 1300
29484595 Omegaxis213 B Aug. 15, 2017, 3:06 p.m. OK Java 8 TESTS 32 218 20480000 1300
43313492 nk2IsHere B Sept. 23, 2018, 1:47 p.m. OK Kotlin TESTS 32 312 0 1300
51264826 nemars B March 13, 2019, 3:02 p.m. OK Mono C# TESTS 32 92 0 1300
42450481 Skndr801 B Sept. 4, 2018, 7:39 a.m. OK Mono C# TESTS 32 92 0 1300
53984424 maxkh B May 11, 2019, 8:51 a.m. OK Mono C# TESTS 32 92 0 1300
49818016 rareone0602 B Feb. 12, 2019, 7:08 a.m. OK Mono C# TESTS 32 624 6758400 1300
17685498 Arcey B May 2, 2016, 6:55 a.m. OK MS C# TESTS 32 122 9113600 1300
20452417 Chubcheg B Sept. 8, 2016, 6:31 a.m. OK MS C# TESTS 32 124 2457600 1300
17156137 Mem B April 4, 2016, 10:28 a.m. OK MS C# TESTS 32 124 11468800 1300
19282142 alex-kozinov B July 20, 2016, 1:59 p.m. OK MS C++ TESTS 32 30 0 1300
16645966 devilsanek B March 11, 2016, 9:50 a.m. OK MS C++ TESTS 32 30 0 1300
15683193 Odin- B Jan. 30, 2016, 5:39 p.m. OK MS C++ TESTS 32 30 0 1300
15582623 bobaahmed2001 B Jan. 25, 2016, 8:59 p.m. OK MS C++ TESTS 32 30 0 1300
15579342 abosobhy B Jan. 25, 2016, 5:46 p.m. OK MS C++ TESTS 32 30 0 1300
15573340 AhmedShabaan1999 B Jan. 25, 2016, 12:55 p.m. OK MS C++ TESTS 32 30 0 1300
20772178 sahab_s B Sept. 20, 2016, 9:46 a.m. OK MS C++ TESTS 32 30 0 1300
29546842 vjudge3 B Aug. 18, 2017, 8:58 a.m. OK MS C++ TESTS 32 30 0 1300
38712923 id1 B May 29, 2018, 8:18 a.m. OK MS C++ TESTS 32 30 0 1300
20475219 MichaelScofield B Sept. 9, 2016, 9:17 a.m. OK MS C++ TESTS 32 30 0 1300
54790722 buyolitsez B May 29, 2019, 6:58 a.m. OK MS C++ 2017 TESTS 32 62 0 1300
41153201 Egor_Shchetinin B Aug. 3, 2018, 10:16 a.m. OK PascalABC.NET TESTS 32 122 102400 1300
18833415 boombastic B July 1, 2016, 2:41 a.m. OK PyPy 2 TESTS 32 124 0 1300
38254001 _rosemary_ B May 15, 2018, 2:28 a.m. OK PyPy 3 TESTS 32 186 21401600 1300
38253989 rosemary.fort B May 15, 2018, 2:28 a.m. OK PyPy 3 TESTS 32 186 21401600 1300
30926336 nonis B Oct. 1, 2017, 10:08 p.m. OK PyPy 3 TESTS 32 216 307200 1300
69790851 ultimatron B Jan. 29, 2020, 6:27 p.m. OK PyPy 3 TESTS 32 280 0 1300
64135902 bibeksaha B Nov. 3, 2019, 7:04 a.m. OK PyPy 3 TESTS 32 280 0 1300
58219026 Maaddy B Aug. 3, 2019, 11:52 a.m. OK PyPy 3 TESTS 32 280 0 1300
56401042 Doctor-Venom B July 1, 2019, 4:50 p.m. OK PyPy 3 TESTS 32 280 0 1300
48101030 vjudge3 B Jan. 8, 2019, 8:41 p.m. OK PyPy 3 TESTS 32 280 0 1300
56536774 alexara1123 B July 5, 2019, 1:40 a.m. OK PyPy 3 TESTS 32 280 1331200 1300
62105176 zaregenilsya B Oct. 8, 2019, 10:32 a.m. OK PyPy 3 TESTS 32 280 2150400 1300
22903081 welcome B Dec. 12, 2016, noon OK Python 2 TESTS 32 92 0 1300
25490486 sheldon_v2 B March 15, 2017, 5:51 a.m. OK Python 2 TESTS 32 92 4710400 1300
25337106 jhaam B March 8, 2017, 8:46 a.m. OK Python 2 TESTS 32 122 4608000 1300
23661051 Ali.Pi B Jan. 9, 2017, 6:44 a.m. OK Python 2 TESTS 32 122 4608000 1300
18908019 lala B July 5, 2016, 10:03 p.m. OK Python 2 TESTS 32 124 0 1300
35536705 laoliumang B Feb. 21, 2018, 3:03 a.m. OK Python 2 TESTS 32 124 4608000 1300
23536603 BlueHazard_rony B Jan. 4, 2017, 1:41 p.m. OK Python 2 TESTS 32 124 4608000 1300
17561534 slitvinov B April 29, 2016, 6:04 a.m. OK Python 2 TESTS 32 124 4710400 1300
21865171 yougaindra B Oct. 29, 2016, 6:43 a.m. OK Python 2 TESTS 32 154 0 1300
15263791 vjudge1 B Jan. 9, 2016, 5:02 a.m. OK Python 2 TESTS 32 248 16384000 1300
29094465 LegendaryTooth B Aug. 1, 2017, 9:19 a.m. OK Python 3 TESTS 32 92 4608000 1300
29321443 Anastasiaaa B Aug. 10, 2017, 8:30 a.m. OK Python 3 TESTS 32 122 4608000 1300
32064753 chakib B Nov. 4, 2017, 10:34 p.m. OK Python 3 TESTS 32 124 0 1300
27302788 poyodr B May 23, 2017, 2 p.m. OK Python 3 TESTS 32 124 0 1300
22934380 Nike_VML B Dec. 13, 2016, 7:53 p.m. OK Python 3 TESTS 32 124 0 1300
18775812 I_Need_Alex_R_Coleman B June 29, 2016, 1:06 a.m. OK Python 3 TESTS 32 124 0 1300
19787087 msmlkm B Aug. 11, 2016, 3:42 p.m. OK Python 3 TESTS 32 124 4608000 1300
33856030 s_ranjan B Jan. 1, 2018, 11:51 p.m. OK Python 3 TESTS 32 124 5529600 1300
28016039 arpit040199 B June 25, 2017, 5:12 a.m. OK Python 3 TESTS 32 124 5529600 1300
26240289 lelius B April 9, 2017, 3:26 p.m. OK Python 3 TESTS 32 124 5529600 1300
38770600 arvind0598 B May 30, 2018, 11:24 a.m. OK Ruby TESTS 32 124 6451200 1300
19966969 SakurakoujiRuna B Aug. 19, 2016, 4:06 p.m. OK Ruby TESTS 32 124 6451200 1300
38770404 arvind0598 B May 30, 2018, 11:18 a.m. OK Ruby TESTS 32 186 6451200 1300
22205030 techaddict B Nov. 14, 2016, 9:29 a.m. OK Scala TESTS 32 498 0 1300
16586584 reldan B March 7, 2016, 3:30 p.m. OK Scala TESTS 32 560 102400 1300

remove filters

Back to search problems