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 |
---|---|---|---|---|---|---|
1280 | Codeforces Round 607 (Div. 1) | FINISHED | False | 7200 | 161052887 | Dec. 15, 2019, 5:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1039 ) | D | Miss Punyverse | PROGRAMMING | dp greedy trees | 2700 |
B'The Oak has n nesting places, numbered with integers from 1 to n . Nesting place i is home to b_i bees and w_i wasps. Some nesting places are connected by branches. We call two nesting places adjacent if there exists a branch between them. A simple path from nesting place x to y is given by a sequence s_0, ldots, s_p of distinct nesting places, where p is a non-negative integer, s_0 = x , s_p = y , and s_{i-1} and s_{i} are adjacent for each i = 1, ldots, p . The branches of The Oak are set up in such a way that for any two pairs of nesting places x and y , there exists a unique simple path from x to y . Because of this, biologists and computer scientists agree that The Oak is in fact, a tree. A village is a nonempty set V of nesting places such that for any two x and y in V , there exists a simple path from x to y whose intermediate nesting places all lie in V . A set of villages cal P is called a partition if each of the n nesting places is contained in exactly one of the villages in cal P . In other words, no two villages in cal P share any common nesting place, and altogether, they contain all n nesting places. The Oak holds its annual Miss Punyverse beauty pageant. The two contestants this year are Ugly Wasp and Pretty Bee. The winner of the beauty pageant is determined by voting, which we will now explain. Suppose mathcal{P} is a partition of the nesting places into m villages V_1, ldots, V_m . There is a local election in each village. Each of the insects in this village vote for their favorite contestant. If there are strictly more votes for Ugly Wasp than Pretty Bee, then Ugly Wasp is said to win in that village. Otherwise, Pretty Bee wins. Whoever wins in the most number of villages wins. As it always goes with these pageants, bees always vote for '... |
Codeforces Round #607 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
66973810 | lzoilxy | D | Dec. 15, 2019, 2 p.m. | OK | GNU C++11 | TESTS | 50 | 639 | 145715200 | 2700 | |
66937100 | aa2985759 | D | Dec. 15, 2019, 8:47 a.m. | OK | GNU C++11 | TESTS | 50 | 779 | 109772800 | 2700 | |
67073504 | Rubblsh12345 | D | Dec. 17, 2019, 1:37 p.m. | OK | GNU C++11 | TESTS | 50 | 811 | 146022400 | 2700 | |
67021855 | szm_ | D | Dec. 16, 2019, 1:12 p.m. | OK | GNU C++11 | TESTS | 50 | 826 | 145408000 | 2700 | |
68630317 | CTP_314 | D | Jan. 12, 2020, 2:23 a.m. | OK | GNU C++11 | TESTS | 50 | 841 | 144998400 | 2700 | |
66916728 | panole | D | Dec. 15, 2019, 6:04 a.m. | OK | GNU C++11 | TESTS | 50 | 841 | 145817600 | 2700 | |
68379910 | z7z_Eta | D | Jan. 7, 2020, 11:23 p.m. | OK | GNU C++11 | TESTS | 50 | 857 | 144793600 | 2700 | |
66958985 | zxyhh | D | Dec. 15, 2019, 10:38 a.m. | OK | GNU C++11 | TESTS | 50 | 857 | 145510400 | 2700 | |
68628547 | xyyf | D | Jan. 12, 2020, 12:56 a.m. | OK | GNU C++11 | TESTS | 50 | 858 | 145510400 | 2700 | |
68606254 | stal_xy23z7b8 | D | Jan. 11, 2020, 2:15 p.m. | OK | GNU C++11 | TESTS | 50 | 873 | 109056000 | 2700 | |
66936621 | idxcalcal | D | Dec. 15, 2019, 8:39 a.m. | OK | GNU C++14 | TESTS | 50 | 842 | 109772800 | 2700 | |
66969219 | yan-zp | D | Dec. 15, 2019, 12:42 p.m. | OK | GNU C++14 | TESTS | 50 | 873 | 146227200 | 2700 | |
67028229 | Egor | D | Dec. 16, 2019, 3:01 p.m. | OK | GNU C++14 | TESTS | 50 | 873 | 156774400 | 2700 | |
66917432 | nhho | D | Dec. 15, 2019, 6:07 a.m. | OK | GNU C++14 | TESTS | 50 | 904 | 145715200 | 2700 | |
67593973 | megatron10599 | D | Dec. 25, 2019, 9:54 a.m. | OK | GNU C++14 | TESTS | 50 | 919 | 146432000 | 2700 | |
66935034 | ImForbiddenToSayILoveYou | D | Dec. 15, 2019, 8:15 a.m. | OK | GNU C++14 | TESTS | 50 | 935 | 145715200 | 2700 | |
66923045 | Motarack | D | Dec. 15, 2019, 6:33 a.m. | OK | GNU C++14 | TESTS | 50 | 951 | 145305600 | 2700 | |
66929346 | YaKon4ick | D | Dec. 15, 2019, 7:02 a.m. | OK | GNU C++14 | TESTS | 50 | 982 | 290406400 | 2700 | |
66968515 | PinkRabbit | D | Dec. 15, 2019, 12:31 p.m. | OK | GNU C++14 | TESTS | 50 | 1029 | 109465600 | 2700 | |
67310459 | MinecraftFuns | D | Dec. 21, 2019, 2:16 a.m. | OK | GNU C++14 | TESTS | 50 | 1029 | 145715200 | 2700 | |
66932288 | Twishkle.Aevdark | D | Dec. 15, 2019, 7:42 a.m. | OK | GNU C++17 | TESTS | 50 | 779 | 145715200 | 2700 | |
66911496 | ecnerwala | D | Dec. 15, 2019, 5:43 a.m. | OK | GNU C++17 | TESTS | 50 | 779 | 257433600 | 2700 | |
67048682 | Xellos | D | Dec. 17, 2019, 2 a.m. | OK | GNU C++17 | TESTS | 50 | 794 | 146124800 | 2700 | |
66937179 | Polygon-yg | D | Dec. 15, 2019, 8:48 a.m. | OK | GNU C++17 | TESTS | 50 | 841 | 109772800 | 2700 | |
66969550 | sruthi_1729 | D | Dec. 15, 2019, 12:48 p.m. | OK | GNU C++17 | TESTS | 50 | 858 | 111001600 | 2700 | |
66986656 | neal | D | Dec. 15, 2019, 6:23 p.m. | OK | GNU C++17 | TESTS | 50 | 873 | 145817600 | 2700 | |
66986610 | neal | D | Dec. 15, 2019, 6:22 p.m. | OK | GNU C++17 | TESTS | 50 | 873 | 145817600 | 2700 | |
67010730 | RNS_CUS | D | Dec. 16, 2019, 9:45 a.m. | OK | GNU C++17 | TESTS | 50 | 873 | 148070400 | 2700 | |
66913696 | peehs_moorhsum | D | Dec. 15, 2019, 5:52 a.m. | OK | GNU C++17 | TESTS | 50 | 888 | 146227200 | 2700 | |
66932474 | StarCuriosity | D | Dec. 15, 2019, 7:44 a.m. | OK | GNU C++17 | TESTS | 50 | 888 | 292556800 | 2700 | |
66926109 | Apsara | D | Dec. 15, 2019, 6:48 a.m. | OK | MS C++ | TESTS | 50 | 935 | 145612800 | 2700 | |
68697618 | AleksanderBalobanov | D | Jan. 13, 2020, 8:25 a.m. | OK | MS C++ 2017 | TESTS | 50 | 2605 | 291123200 | 2700 | |
66992184 | sansen | D | Dec. 15, 2019, 9:12 p.m. | OK | Rust | TESTS | 50 | 1185 | 6348800 | 2700 | |
66992098 | sansen | D | Dec. 15, 2019, 9:08 p.m. | OK | Rust | TESTS | 50 | 1559 | 6348800 | 2700 | |
66925028 | sansen | D | Dec. 15, 2019, 6:42 a.m. | OK | Rust | TESTS | 50 | 1575 | 6348800 | 2700 | |
68349570 | sansen | D | Jan. 7, 2020, 9:09 a.m. | OK | Rust | TESTS | 50 | 1746 | 6348800 | 2700 | |
66993146 | sansen | D | Dec. 15, 2019, 9:59 p.m. | OK | Rust | TESTS | 50 | 1918 | 71577600 | 2700 |
Back to search problems