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 | 155436899 | Dec. 15, 2019, 5:05 a.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 203 ) | E | Kirchhoff's Current Loss | PROGRAMMING | math | 2900 |
B'Your friend Kirchhoff is shocked with the current state of electronics design. "Ohmygosh! Watt is wrong with the field? All these circuits are inefficient! There 's so much capacity for improvement. The electrical engineers must not conduct their classes very well. It 's absolutely revolting" he said. The negativity just keeps flowing out of him, but even after complaining so many times he still hasn 't lepton the chance to directly change anything. "These circuits have too much total resistance. Wire they designed this way? It 's just causing a massive loss of resistors! Their entire field could conserve so much money if they just maximized the potential of their designs. Why can 't they just try alternative ideas?" The frequency of his protests about the electrical engineering department hertz your soul, so you have decided to take charge and help them yourself. You plan to create a program that will optimize the circuits while keeping the same circuit layout and maintaining the same effective resistance. A circuit has two endpoints, and is associated with a certain constant, R , called its effective resistance. The circuits we 'll consider will be formed from individual resistors joined together in series or in parallel, forming more complex circuits. The following image illustrates combining circuits in series or parallel. According to your friend Kirchhoff, the effective resistance can be calculated quite easily when joining circuits this way: Circuits will be represented by strings. Individual resistors are represented by an asterisk, "*". For more complex circuits, suppose s_1, s_2, ldots, s_k represent k ge 2 circuits. Then: For example, "(* P (* S *) P *)" represents the following circuit: Given a circuit, your task is to assign the resistances of the individual resistors such that they satisfy the following requirements: If there are n individual resistors, then you need to output the list r_1, r_2, ldots, r_n ( 0 '... |
Codeforces Round #607 Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
68226787 | srividya_0103 | E | Jan. 5, 2020, 7:29 a.m. | OK | GNU C++11 | TESTS | 38 | 93 | 24678400 | 2900 | |
67307812 | duality | E | Dec. 20, 2019, 10:59 p.m. | OK | GNU C++11 | TESTS | 38 | 108 | 12800000 | 2900 | |
67371417 | TiwAirOAO | E | Dec. 21, 2019, 2:16 p.m. | OK | GNU C++11 | TESTS | 38 | 108 | 24678400 | 2900 | |
67006523 | yyf0309 | E | Dec. 16, 2019, 8:11 a.m. | OK | GNU C++11 | TESTS | 38 | 109 | 14438400 | 2900 | |
67962551 | luogu_bot2 | E | Dec. 30, 2019, 12:08 p.m. | OK | GNU C++11 | TESTS | 38 | 109 | 32665600 | 2900 | |
66982672 | lavanyakeshwathkar | E | Dec. 15, 2019, 4:58 p.m. | OK | GNU C++11 | TESTS | 38 | 109 | 38400000 | 2900 | |
66997164 | RNS_MHB | E | Dec. 16, 2019, 2:56 a.m. | OK | GNU C++11 | TESTS | 38 | 124 | 20275200 | 2900 | |
66971405 | msuwakow | E | Dec. 15, 2019, 1:18 p.m. | OK | GNU C++11 | TESTS | 38 | 124 | 32972800 | 2900 | |
66925334 | zx2003 | E | Dec. 15, 2019, 6:44 a.m. | OK | GNU C++11 | TESTS | 38 | 124 | 38400000 | 2900 | |
67148567 | Rubblsh12345 | E | Dec. 18, 2019, 9:50 a.m. | OK | GNU C++11 | TESTS | 38 | 218 | 38400000 | 2900 | |
67052105 | wakaka | E | Dec. 17, 2019, 4:48 a.m. | OK | GNU C++14 | TESTS | 38 | 124 | 12492800 | 2900 | |
68438826 | rfpermen | E | Jan. 9, 2020, 10:07 a.m. | OK | GNU C++14 | TESTS | 38 | 124 | 14848000 | 2900 | |
67063609 | yan-zp | E | Dec. 17, 2019, 10:12 a.m. | OK | GNU C++14 | TESTS | 38 | 139 | 15974400 | 2900 | |
68364059 | Motarack | E | Jan. 7, 2020, 3:14 p.m. | OK | GNU C++14 | TESTS | 38 | 140 | 11673600 | 2900 | |
66986848 | emma | E | Dec. 15, 2019, 6:28 p.m. | OK | GNU C++14 | TESTS | 38 | 140 | 15462400 | 2900 | |
67191934 | 6aren | E | Dec. 19, 2019, 7:26 a.m. | OK | GNU C++14 | TESTS | 38 | 140 | 55091200 | 2900 | |
67041677 | davidberard | E | Dec. 16, 2019, 7:35 p.m. | OK | GNU C++14 | TESTS | 38 | 140 | 62771200 | 2900 | |
68058741 | DmitryGrigorev | E | Jan. 2, 2020, 12:57 a.m. | OK | GNU C++14 | TESTS | 38 | 171 | 13516800 | 2900 | |
66976797 | Benq | E | Dec. 15, 2019, 2:58 p.m. | OK | GNU C++14 | TESTS | 38 | 171 | 38400000 | 2900 | |
67027185 | nhho | E | Dec. 16, 2019, 2:43 p.m. | OK | GNU C++14 | TESTS | 38 | 186 | 28364800 | 2900 | |
67013268 | RNS_CUS | E | Dec. 16, 2019, 10:38 a.m. | OK | GNU C++17 | TESTS | 38 | 93 | 16588800 | 2900 | |
68679653 | Shayan.P | E | Jan. 12, 2020, 8:48 p.m. | OK | GNU C++17 | TESTS | 38 | 124 | 10547200 | 2900 | |
66918756 | Endagorion | E | Dec. 15, 2019, 6:12 a.m. | OK | GNU C++17 | TESTS | 38 | 124 | 11571200 | 2900 | |
66930594 | aid | E | Dec. 15, 2019, 7:25 a.m. | OK | GNU C++17 | TESTS | 38 | 124 | 16384000 | 2900 | |
67040923 | dimas.kovas | E | Dec. 16, 2019, 7:15 p.m. | OK | GNU C++17 | TESTS | 38 | 139 | 16896000 | 2900 | |
67477074 | maroonrk | E | Dec. 23, 2019, 2:42 p.m. | OK | GNU C++17 | TESTS | 38 | 140 | 11059200 | 2900 | |
66922267 | ecnerwala | E | Dec. 15, 2019, 6:29 a.m. | OK | GNU C++17 | TESTS | 38 | 140 | 19148800 | 2900 | |
66918710 | Um_nik | E | Dec. 15, 2019, 6:12 a.m. | OK | GNU C++17 | TESTS | 38 | 140 | 21401600 | 2900 | |
67044813 | paulica | E | Dec. 16, 2019, 9:16 p.m. | OK | GNU C++17 | TESTS | 38 | 140 | 31436800 | 2900 | |
67988551 | jiangly | E | Dec. 31, 2019, 2:06 a.m. | OK | GNU C++17 | TESTS | 38 | 140 | 31846400 | 2900 | |
67849121 | forestlightelf | E | Dec. 29, 2019, 12:58 a.m. | OK | MS C++ 2017 | TESTS | 38 | 420 | 14131200 | 2900 | |
67045586 | sansen | E | Dec. 16, 2019, 9:57 p.m. | OK | Rust | TESTS | 38 | 233 | 20172800 | 2900 | |
67009730 | sansen | E | Dec. 16, 2019, 9:22 a.m. | OK | Rust | TESTS | 38 | 233 | 20172800 | 2900 |
Back to search problems