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 |
---|---|---|---|---|---|---|
621 | Codeforces Round 341 (Div. 2) | FINISHED | False | 7200 | 282930863 | Jan. 31, 2016, 2:05 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1002 ) | D | Rat Kwesh and Cheese | PROGRAMMING | brute force constructive algorithms math | 2200 |
B"Wet Shark asked Rat Kwesh to generate three positive real numbers x, y and z, from 0.1 to 200.0, inclusive. Wet Krash wants to impress Wet Shark, so all generated numbers will have exactly one digit after the decimal point. Wet Shark knows Rat Kwesh will want a lot of cheese. So he will give the Rat an opportunity to earn a lot of cheese. He will hand the three numbers x, y and z to Rat Kwesh, and Rat Kwesh will pick one of the these twelve options: Let m be the maximum of all the ai, and c be the smallest index (from 1 to 12) such that ac xe2 x80 x89= xe2 x80 x89m. Rat's goal is to find that c, and he asks you to help him. Rat Kwesh wants to see how much cheese he gets, so he you will have to print the expression corresponding to that ac. The only line of the input contains three space-separated real numbers x, y and z (0.1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x, xe2 x80 x89y, xe2 x80 x89z xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89200.0). Each of x, y and z is given with exactly one digit after the decimal point. Find the maximum value of expression among xyz, xzy, (xy)z, (xz)y, yxz, yzx, (yx)z, (yz)x, zxy, zyx, (zx)y, (zy)x and print the corresponding expression. If there are many maximums, print the one that comes first in the list. xyz should be outputted as x^y^z (without brackets), and (xy)z should be outputted as (x^y)^z (quotes for clarity). "... |
Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
18876698 | ruban | D | July 4, 2016, 5:01 a.m. | OK | Delphi | TESTS | 152 | 30 | 20070400 | 2200 | |
16517986 | dohonghuan | D | March 4, 2016, 3:28 p.m. | OK | FPC | TESTS | 152 | 15 | 102400 | 2200 | |
15725125 | Fyodor | D | Feb. 1, 2016, 5:42 a.m. | OK | FPC | TESTS | 152 | 15 | 102400 | 2200 | |
15770739 | MintGreen | D | Feb. 3, 2016, 2:36 p.m. | OK | FPC | TESTS | 152 | 15 | 102400 | 2200 | |
15770780 | MintGreen | D | Feb. 3, 2016, 2:38 p.m. | OK | FPC | TESTS | 152 | 15 | 102400 | 2200 | |
15724944 | ZYF1024 | D | Feb. 1, 2016, 5:27 a.m. | OK | FPC | TESTS | 152 | 31 | 102400 | 2200 | |
15875748 | nateriver | D | Feb. 7, 2016, 12:46 p.m. | OK | GNU C | TESTS | 152 | 15 | 0 | 2200 | |
15893573 | rchehab | D | Feb. 8, 2016, 9:45 a.m. | OK | GNU C | TESTS | 152 | 15 | 0 | 2200 | |
32006616 | none44353 | D | Nov. 3, 2017, 12:08 p.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
21620647 | vjudge5 | D | Oct. 20, 2016, 2:36 p.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
32008123 | none44353 | D | Nov. 3, 2017, 1:13 p.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
30625432 | bhaag_milkha | D | Sept. 22, 2017, 8:50 p.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
22707801 | spsmoj4 | D | Dec. 5, 2016, 9:11 a.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
22672012 | spsmoj4 | D | Dec. 3, 2016, 8:23 a.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
22586831 | Kerpoo | D | Nov. 28, 2016, 9:51 p.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
22191225 | vjudge1 | D | Nov. 13, 2016, 11:01 a.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
22174026 | vjudge3 | D | Nov. 12, 2016, 7:58 a.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
22172999 | vjudge2 | D | Nov. 12, 2016, 6:17 a.m. | OK | GNU C++ | TESTS | 152 | 15 | 0 | 2200 | |
15737033 | nayanb | D | Feb. 1, 2016, 5:42 p.m. | OK | GNU C11 | TESTS | 152 | 15 | 0 | 2200 | |
59591364 | rainboy | D | Aug. 27, 2019, 8:45 p.m. | OK | GNU C11 | TESTS | 152 | 31 | 0 | 2200 | |
20823618 | maratonando3 | D | Sept. 22, 2016, 5:41 p.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
22168245 | Valerich | D | Nov. 11, 2016, 6:51 p.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
20959030 | Ledger | D | Sept. 28, 2016, 2:44 a.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
20927910 | maratonando2 | D | Sept. 26, 2016, 2:48 p.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
20461090 | paunmatei7 | D | Sept. 8, 2016, 3:11 p.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
20349544 | KhaleD_ | D | Sept. 2, 2016, 10:37 p.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
20324517 | wannabe_khiladi | D | Sept. 1, 2016, 2:45 p.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
19020033 | DeadPillow | D | July 11, 2016, 4:09 a.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
16778069 | JohStraat | D | March 18, 2016, 8:34 a.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
16756854 | Brown_bear | D | March 17, 2016, 2:51 a.m. | OK | GNU C++11 | TESTS | 152 | 15 | 0 | 2200 | |
32245490 | waynetuinfor | D | Nov. 12, 2017, 2:03 p.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
30503444 | sun-ruo-feng | D | Sept. 19, 2017, 3:11 p.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
30176015 | BanFcc | D | Sept. 7, 2017, 8:25 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
30175764 | BanFcc | D | Sept. 7, 2017, 8:16 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
27877226 | _sinner | D | June 18, 2017, 5:38 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
22300007 | paruki | D | Nov. 18, 2016, 4:56 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
21814098 | _samariddin_ | D | Oct. 27, 2016, 7:28 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
21813215 | samar.sharipov | D | Oct. 27, 2016, 6:30 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
30504085 | sun-ruo-feng | D | Sept. 19, 2017, 3:13 p.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
31180268 | bash | D | Oct. 10, 2017, 3:16 a.m. | OK | GNU C++14 | TESTS | 152 | 15 | 0 | 2200 | |
59563254 | BohdanPastuschak | D | Aug. 27, 2019, 9:34 a.m. | OK | GNU C++17 | TESTS | 152 | 31 | 0 | 2200 | |
39034114 | pushpendra1997 | D | June 8, 2018, 1:58 a.m. | OK | GNU C++17 | TESTS | 152 | 31 | 0 | 2200 | |
69391347 | ruo | D | Jan. 23, 2020, 3:54 a.m. | OK | GNU C++17 | TESTS | 152 | 31 | 0 | 2200 | |
68695982 | Shushpanchick | D | Jan. 13, 2020, 7:56 a.m. | OK | GNU C++17 | TESTS | 152 | 31 | 0 | 2200 | |
42594391 | hell_hacker | D | Sept. 6, 2018, 9:57 p.m. | OK | GNU C++17 | TESTS | 152 | 31 | 204800 | 2200 | |
41303601 | indiewar | D | Aug. 7, 2018, 11:47 a.m. | OK | GNU C++17 | TESTS | 152 | 31 | 307200 | 2200 | |
44064953 | MaghrabyZ | D | Oct. 10, 2018, 8:40 a.m. | OK | GNU C++17 | TESTS | 152 | 31 | 307200 | 2200 | |
37146651 | Splashing | D | April 10, 2018, 2:04 p.m. | OK | GNU C++17 | TESTS | 152 | 31 | 3379200 | 2200 | |
36505605 | yyzs123 | D | March 22, 2018, 2:11 p.m. | OK | GNU C++17 | TESTS | 152 | 31 | 3379200 | 2200 | |
59593848 | MathStudent2002 | D | Aug. 27, 2019, 11:09 p.m. | OK | GNU C++17 | TESTS | 152 | 46 | 0 | 2200 | |
15723307 | mkirsche | D | Feb. 1, 2016, 2:58 a.m. | OK | Java 7 | TESTS | 152 | 109 | 0 | 2200 | |
15717326 | nitegazer | D | Jan. 31, 2016, 5:59 p.m. | OK | Java 7 | TESTS | 152 | 109 | 0 | 2200 | |
15962431 | alibaba | D | Feb. 11, 2016, 6:58 p.m. | OK | Java 7 | TESTS | 152 | 124 | 0 | 2200 | |
15780396 | Lepluto | D | Feb. 4, 2016, 3:01 a.m. | OK | Java 7 | TESTS | 152 | 124 | 0 | 2200 | |
18070538 | lebaur | D | May 25, 2016, 11:53 a.m. | OK | Java 7 | TESTS | 152 | 140 | 39014400 | 2200 | |
15719737 | 2oo7 | D | Jan. 31, 2016, 8:31 p.m. | OK | Java 8 | TESTS | 152 | 109 | 0 | 2200 | |
15824022 | 941012 | D | Feb. 5, 2016, 11:39 a.m. | OK | Java 8 | TESTS | 152 | 109 | 0 | 2200 | |
15773521 | Genericcoder | D | Feb. 3, 2016, 4:42 p.m. | OK | Java 8 | TESTS | 152 | 109 | 0 | 2200 | |
15719100 | 2oo7 | D | Jan. 31, 2016, 7:45 p.m. | OK | Java 8 | TESTS | 152 | 109 | 0 | 2200 | |
26579668 | vjudge4 | D | April 22, 2017, 9:23 a.m. | OK | Java 8 | TESTS | 152 | 109 | 20582400 | 2200 | |
26579135 | vjudge4 | D | April 22, 2017, 8:55 a.m. | OK | Java 8 | TESTS | 152 | 109 | 20582400 | 2200 | |
26579024 | vjudge5 | D | April 22, 2017, 8:50 a.m. | OK | Java 8 | TESTS | 152 | 109 | 20582400 | 2200 | |
47462781 | Kharouba | D | Dec. 24, 2018, 4:05 p.m. | OK | Java 8 | TESTS | 152 | 124 | 0 | 2200 | |
16292383 | MatthewRaker | D | Feb. 23, 2016, 12:41 p.m. | OK | Java 8 | TESTS | 152 | 124 | 0 | 2200 | |
16251714 | flyman3046 | D | Feb. 20, 2016, 11:02 p.m. | OK | Java 8 | TESTS | 152 | 124 | 0 | 2200 | |
15753656 | azukun | D | Feb. 2, 2016, 4 p.m. | OK | MS C# | TESTS | 152 | 62 | 512000 | 2200 | |
15952706 | c4big2 | D | Feb. 11, 2016, 8:32 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15873352 | iblacksun | D | Feb. 7, 2016, 11:35 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15821308 | Maks_DP | D | Feb. 5, 2016, 8:34 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15790504 | 5_Apm | D | Feb. 4, 2016, 4:08 p.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15765139 | Jason_Lee | D | Feb. 3, 2016, 9:18 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15763992 | xImmortal | D | Feb. 3, 2016, 7:43 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15746222 | SyrSam | D | Feb. 2, 2016, 8:32 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15744725 | siscos | D | Feb. 2, 2016, 6:39 a.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15735359 | Dimi | D | Feb. 1, 2016, 4:15 p.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15730206 | Kyle_Chi | D | Feb. 1, 2016, 12:02 p.m. | OK | MS C++ | TESTS | 152 | 15 | 0 | 2200 | |
15715444 | Darooha | D | Jan. 31, 2016, 5:04 p.m. | OK | Ocaml | TESTS | 152 | 15 | 0 | 2200 | |
15732331 | kliner | D | Feb. 1, 2016, 1:52 p.m. | OK | PyPy 2 | TESTS | 152 | 77 | 0 | 2200 | |
24973943 | Misaki_Nakahara | D | Feb. 24, 2017, 11:30 a.m. | OK | PyPy 2 | TESTS | 152 | 156 | 22016000 | 2200 | |
15716323 | tfboys | D | Jan. 31, 2016, 5:17 p.m. | OK | PyPy 2 | TESTS | 152 | 171 | 13619200 | 2200 | |
15948167 | NabiNaga | D | Feb. 10, 2016, 9:11 p.m. | OK | PyPy 2 | TESTS | 152 | 187 | 13516800 | 2200 | |
15768898 | biltharesatyendra | D | Feb. 3, 2016, 1:05 p.m. | OK | PyPy 2 | TESTS | 152 | 701 | 13516800 | 2200 | |
15729790 | rajat1603 | D | Feb. 1, 2016, 11:38 a.m. | OK | PyPy 2 | TESTS | 152 | 889 | 13516800 | 2200 | |
35896128 | ______u______ | D | March 3, 2018, 5:02 p.m. | OK | PyPy 3 | TESTS | 152 | 218 | 25292800 | 2200 | |
35887996 | ______k______ | D | March 3, 2018, 2:13 p.m. | OK | PyPy 3 | TESTS | 152 | 218 | 25292800 | 2200 | |
35887026 | ______i______ | D | March 3, 2018, 1:57 p.m. | OK | PyPy 3 | TESTS | 152 | 218 | 25292800 | 2200 | |
35885068 | ______M______ | D | March 3, 2018, 1:21 p.m. | OK | PyPy 3 | TESTS | 152 | 218 | 25292800 | 2200 | |
15814570 | SerVasilich | D | Feb. 4, 2016, 9:46 p.m. | OK | PyPy 3 | TESTS | 152 | 265 | 15564800 | 2200 | |
15777643 | mahmoudbadawy | D | Feb. 3, 2016, 9:04 p.m. | OK | PyPy 3 | TESTS | 152 | 280 | 15462400 | 2200 | |
15761011 | CHVRCHES | D | Feb. 3, 2016, 2:25 a.m. | OK | PyPy 3 | TESTS | 152 | 280 | 15564800 | 2200 | |
15814428 | SerVasilich | D | Feb. 4, 2016, 9:36 p.m. | OK | PyPy 3 | TESTS | 152 | 326 | 15564800 | 2200 | |
15814368 | SerVasilich | D | Feb. 4, 2016, 9:32 p.m. | OK | PyPy 3 | TESTS | 152 | 342 | 15462400 | 2200 | |
15760022 | Jori | D | Feb. 3, 2016, 12:11 a.m. | OK | PyPy 3 | TESTS | 152 | 342 | 15462400 | 2200 | |
15725317 | cjoa | D | Feb. 1, 2016, 5:57 a.m. | OK | Python 2 | TESTS | 152 | 61 | 0 | 2200 | |
15736590 | HighFlow | D | Feb. 1, 2016, 5:20 p.m. | OK | Python 2 | TESTS | 152 | 62 | 0 | 2200 | |
15727430 | learningmou | D | Feb. 1, 2016, 8:32 a.m. | OK | Python 2 | TESTS | 152 | 62 | 0 | 2200 | |
15718354 | alex457 | D | Jan. 31, 2016, 6:57 p.m. | OK | Python 2 | TESTS | 152 | 62 | 0 | 2200 | |
15777954 | danielfleischman | D | Feb. 3, 2016, 9:36 p.m. | OK | Python 2 | TESTS | 152 | 62 | 307200 | 2200 | |
25006734 | Misaki_Nakahara | D | Feb. 25, 2017, 8:22 a.m. | OK | Python 2 | TESTS | 152 | 62 | 4710400 | 2200 | |
15785176 | radhey_maa | D | Feb. 4, 2016, 10:12 a.m. | OK | Python 2 | TESTS | 152 | 109 | 5017600 | 2200 | |
15762378 | diamond_duke | D | Feb. 3, 2016, 5:11 a.m. | OK | Python 2 | TESTS | 152 | 109 | 5017600 | 2200 | |
15723622 | boyfaceone | D | Feb. 1, 2016, 3:28 a.m. | OK | Python 2 | TESTS | 152 | 109 | 5017600 | 2200 | |
15723530 | boyfaceone | D | Feb. 1, 2016, 3:20 a.m. | OK | Python 2 | TESTS | 152 | 109 | 5017600 | 2200 | |
15718586 | cugel | D | Jan. 31, 2016, 7:10 p.m. | OK | Python 3 | TESTS | 152 | 62 | 0 | 2200 | |
15722831 | ludimma | D | Feb. 1, 2016, 2:08 a.m. | OK | Python 3 | TESTS | 152 | 62 | 307200 | 2200 | |
16607009 | augurar | D | March 8, 2016, 6:57 p.m. | OK | Python 3 | TESTS | 152 | 77 | 307200 | 2200 | |
15758927 | Horia | D | Feb. 2, 2016, 10:04 p.m. | OK | Python 3 | TESTS | 152 | 77 | 307200 | 2200 | |
15728036 | yurahuna | D | Feb. 1, 2016, 9:18 a.m. | OK | Python 3 | TESTS | 152 | 77 | 307200 | 2200 | |
15720205 | MottoX | D | Jan. 31, 2016, 9:08 p.m. | OK | Python 3 | TESTS | 152 | 77 | 921600 | 2200 | |
15759344 | Horia | D | Feb. 2, 2016, 10:45 p.m. | OK | Python 3 | TESTS | 152 | 78 | 921600 | 2200 | |
15724585 | polingy | D | Feb. 1, 2016, 4:56 a.m. | OK | Python 3 | TESTS | 152 | 78 | 921600 | 2200 | |
15721244 | nouret | D | Jan. 31, 2016, 10:52 p.m. | OK | Python 3 | TESTS | 152 | 78 | 921600 | 2200 | |
15717495 | .tx | D | Jan. 31, 2016, 6:06 p.m. | OK | Python 3 | TESTS | 152 | 78 | 921600 | 2200 | |
15715716 | pekempey | D | Jan. 31, 2016, 5:07 p.m. | OK | Ruby | TESTS | 152 | 234 | 8601600 | 2200 |
Back to search problems