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 |
---|---|---|---|---|---|---|
1692 | Codeforces Round 799 (Div. 4) | FINISHED | False | 8100 | 76605899 | June 14, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 66550 ) | A | Marathon | PROGRAMMING | implementation |
B'You are given four distinct integers a , b , c , d . Timur and three other people are running a marathon. The value a is the distance that Timur has run and b , c , d correspond to the distances the other three participants ran. Output the number of participants in front of Timur. The first line contains a single integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The description of each test case consists of four distinct integers a , b , c , d ( 0 <= q a, b, c, d <= q 10^4 ). For each test case, output a single integer -- the number of participants in front of Timur. For the first test case, there are 2 people in front of Timur, specifically the participants who ran distances of 3 and 4 . The other participant is not in front of Timur because he ran a shorter distance than Timur. For the second test case, no one is in front of Timur, since he ran a distance of 10000 while all others ran a distance of 0 , 1 , and 2 respectively. For the third test case, only the second person is in front of Timur, who ran a total distance of 600 while Timur ran a distance of 500 . '... |
Codeforces Round #799 (Div. 4) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
160693898 | Saeed_emad | A | June 15, 2022, 5:33 a.m. | OK | C# 8 | TESTS | 3 | 124 | 2662400 | ||
160675708 | bluemegane | A | June 14, 2022, 9:39 p.m. | OK | C# 8 | TESTS | 3 | 140 | 3379200 | ||
160663283 | UCHiha_SasUKE___ | A | June 14, 2022, 6:17 p.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 217 | 0 | ||
160685770 | huge_magnet | A | June 15, 2022, 3:17 a.m. | OK | Clang++17 Diagnostics | TESTS | 3 | 233 | 0 | ||
160688660 | Wii | A | June 15, 2022, 4:12 a.m. | OK | FPC | TESTS | 3 | 31 | 0 | ||
160666842 | neelu_nzn | A | June 14, 2022, 6:58 p.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
160662447 | asifbhshawon71 | A | June 14, 2022, 6:09 p.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
160662489 | shahriarJr | A | June 14, 2022, 6:09 p.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
160693172 | NixonDebAntu | A | June 15, 2022, 5:22 a.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
160695209 | Kavish_Shah | A | June 15, 2022, 5:52 a.m. | OK | GNU C11 | TESTS | 3 | 31 | 0 | ||
160687289 | epsa_StaCKOverfLow | A | June 15, 2022, 3:48 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
160689346 | AvRo0184 | A | June 15, 2022, 4:24 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
160691223 | suchit_paul_77 | A | June 15, 2022, 4:53 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
160692890 | farihazarin23 | A | June 15, 2022, 5:18 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
160685988 | AJ_S003 | A | June 15, 2022, 3:23 a.m. | OK | GNU C11 | TESTS | 3 | 46 | 0 | ||
160667212 | dev24 | A | June 14, 2022, 7:03 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160663499 | idk_12 | A | June 14, 2022, 6:19 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160662436 | kary_ | A | June 14, 2022, 6:09 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160658807 | Just_coding_ | A | June 14, 2022, 5:36 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160656582 | tushirsahu30 | A | June 14, 2022, 5:19 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160680701 | ArshAgl | A | June 15, 2022, 1:08 a.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160679398 | Changersh | A | June 15, 2022, 12:15 a.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160674990 | innocentcodr23 | A | June 14, 2022, 9:17 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160674232 | maiky | A | June 14, 2022, 8:59 p.m. | OK | GNU C++14 | TESTS | 3 | 0 | 0 | ||
160686359 | Naim_Hasan_Pappu | A | June 15, 2022, 3:30 a.m. | OK | GNU C++14 | TESTS | 3 | 0 | 102400 | ||
160691573 | Double_pipe_dream | A | June 15, 2022, 4:59 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160691951 | Vgt_Dog | A | June 15, 2022, 5:05 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160692014 | Lokesh_Shelva | A | June 15, 2022, 5:06 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160693431 | ankit7011 | A | June 15, 2022, 5:26 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160694882 | Beny.Karimi | A | June 15, 2022, 5:47 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160690805 | Ashish_9810 | A | June 15, 2022, 4:46 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160689634 | sushrut22 | A | June 15, 2022, 4:29 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160688469 | bavesh | A | June 15, 2022, 4:09 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160684985 | ahmedsaif10 | A | June 15, 2022, 3:01 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160685907 | Zetix | A | June 15, 2022, 3:21 a.m. | OK | GNU C++17 | TESTS | 3 | 0 | 0 | ||
160678494 | habibaazab | A | June 14, 2022, 11:27 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160692485 | TesikBas_ | A | June 15, 2022, 5:13 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160683519 | FUNctio_naL | A | June 15, 2022, 2:28 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160681793 | rfpermen | A | June 15, 2022, 1:42 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160679310 | julianferres | A | June 15, 2022, 12:10 a.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160671109 | pakhandi98 | A | June 14, 2022, 7:58 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160665973 | dreamoon_love_AA | A | June 14, 2022, 6:47 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160665404 | EDITH | A | June 14, 2022, 6:40 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160664236 | Mahmoud217 | A | June 14, 2022, 6:27 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160658151 | Richw818 | A | June 14, 2022, 5:31 p.m. | OK | GNU C++17 (64) | TESTS | 3 | 0 | 0 | ||
160679645 | Restarted_lghhh | A | June 15, 2022, 12:27 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160682660 | Pranav.exe | A | June 15, 2022, 2:07 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160685470 | __declspec | A | June 15, 2022, 3:11 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160686508 | Mr43 | A | June 15, 2022, 3:33 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160687524 | mhmd_bz | A | June 15, 2022, 3:52 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160690387 | n1cknamezz | A | June 15, 2022, 4:40 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160691486 | Mushfiq_Talha | A | June 15, 2022, 4:57 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160691994 | aryanverma2412 | A | June 15, 2022, 5:06 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160693056 | Mango.Shake | A | June 15, 2022, 5:21 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160693207 | fishcathu. | A | June 15, 2022, 5:23 a.m. | OK | GNU C++20 (64) | TESTS | 3 | 0 | 0 | ||
160671484 | jinraell | A | June 14, 2022, 8:04 p.m. | OK | Java 11 | TESTS | 3 | 140 | 0 | ||
160693943 | parascoding1 | A | June 15, 2022, 5:34 a.m. | OK | Java 11 | TESTS | 3 | 155 | 0 | ||
160666004 | Ginkgobiloba | A | June 14, 2022, 6:47 p.m. | OK | Java 11 | TESTS | 3 | 155 | 0 | ||
160664087 | Karakurik | A | June 14, 2022, 6:25 p.m. | OK | Java 11 | TESTS | 3 | 156 | 0 | ||
160682427 | JustJie | A | June 15, 2022, 2:01 a.m. | OK | Java 11 | TESTS | 3 | 170 | 0 | ||
160689811 | Rohitttt | A | June 15, 2022, 4:31 a.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
160654600 | MunirKP | A | June 14, 2022, 5:06 p.m. | OK | Java 11 | TESTS | 3 | 171 | 0 | ||
160692982 | aruny0767 | A | June 15, 2022, 5:19 a.m. | OK | Java 11 | TESTS | 3 | 171 | 40140800 | ||
160692497 | LoudSilence | A | June 15, 2022, 5:13 a.m. | OK | Java 11 | TESTS | 3 | 186 | 0 | ||
160676362 | codebook_2000 | A | June 14, 2022, 10:01 p.m. | OK | Java 11 | TESTS | 3 | 187 | 0 | ||
160658032 | Mohamed308 | A | June 14, 2022, 5:30 p.m. | OK | Java 8 | TESTS | 3 | 92 | 0 | ||
160688016 | moyan_01 | A | June 15, 2022, 4 a.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
160680722 | ayafayed | A | June 15, 2022, 1:09 a.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
160655672 | Eslam_Ahmed | A | June 14, 2022, 5:13 p.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
160654631 | WrongAnswerOnTestCase2 | A | June 14, 2022, 5:06 p.m. | OK | Java 8 | TESTS | 3 | 93 | 0 | ||
160680624 | changes561 | A | June 15, 2022, 1:05 a.m. | OK | Java 8 | TESTS | 3 | 108 | 0 | ||
160668654 | Kokot | A | June 14, 2022, 7:23 p.m. | OK | Java 8 | TESTS | 3 | 139 | 0 | ||
160689477 | adoshi25 | A | June 15, 2022, 4:26 a.m. | OK | Java 8 | TESTS | 3 | 171 | 0 | ||
160695422 | swaggy_baba | A | June 15, 2022, 5:55 a.m. | OK | Java 8 | TESTS | 3 | 186 | 0 | ||
160688769 | Mr.robot_.735 | A | June 15, 2022, 4:14 a.m. | OK | Java 8 | TESTS | 3 | 202 | 0 | ||
160680130 | mariaskury | A | June 15, 2022, 12:46 a.m. | OK | JavaScript | TESTS | 3 | 61 | 1331200 | ||
160676599 | Hakiobo | A | June 14, 2022, 10:09 p.m. | OK | Kotlin 1.4 | TESTS | 3 | 93 | 0 | ||
160674703 | khairyhoda381 | A | June 14, 2022, 9:11 p.m. | OK | MS C++ 2017 | TESTS | 3 | 46 | 0 | ||
160683931 | TemporalBloom | A | June 15, 2022, 2:38 a.m. | OK | MS C++ 2017 | TESTS | 3 | 61 | 0 | ||
160670273 | gharsh_69 | A | June 14, 2022, 7:44 p.m. | OK | MS C++ 2017 | TESTS | 3 | 61 | 0 | ||
160686544 | A_Pier | A | June 15, 2022, 3:34 a.m. | OK | MS C++ 2017 | TESTS | 3 | 62 | 0 | ||
160659320 | Priyanka1505 | A | June 14, 2022, 5:40 p.m. | OK | MS C++ 2017 | TESTS | 3 | 77 | 0 | ||
160670401 | hxu10 | A | June 14, 2022, 7:46 p.m. | OK | PyPy 3 | TESTS | 3 | 186 | 10137600 | ||
160681820 | coding_bro | A | June 15, 2022, 1:42 a.m. | OK | PyPy 3 | TESTS | 3 | 187 | 5529600 | ||
160692304 | ramjeeraghu | A | June 15, 2022, 5:10 a.m. | OK | PyPy 3 | TESTS | 3 | 187 | 8499200 | ||
160681291 | shrey_cf234 | A | June 15, 2022, 1:28 a.m. | OK | PyPy 3 | TESTS | 3 | 218 | 3993600 | ||
160687200 | thukrake_mera_pyaar | A | June 15, 2022, 3:46 a.m. | OK | PyPy 3 | TESTS | 3 | 233 | 4198400 | ||
160690157 | Shanko | A | June 15, 2022, 4:37 a.m. | OK | PyPy 3 | TESTS | 3 | 233 | 4300800 | ||
160688945 | siowyeeceng3 | A | June 15, 2022, 4:17 a.m. | OK | PyPy 3 | TESTS | 3 | 249 | 4505600 | ||
160692932 | lakshay_jain | A | June 15, 2022, 5:19 a.m. | OK | PyPy 3 | TESTS | 3 | 249 | 4608000 | ||
160665540 | numanmahzabin | A | June 14, 2022, 6:42 p.m. | OK | PyPy 3 | TESTS | 3 | 295 | 7065600 | ||
160655209 | Mannu31 | A | June 14, 2022, 5:10 p.m. | OK | PyPy 3 | TESTS | 3 | 295 | 9728000 | ||
160661438 | only_for_kav_tripathi | A | June 14, 2022, 5:59 p.m. | OK | PyPy 3-64 | TESTS | 3 | 77 | 6451200 | ||
160662804 | HadesKraken | A | June 14, 2022, 6:12 p.m. | OK | PyPy 3-64 | TESTS | 3 | 93 | 8806400 | ||
160656245 | gesuta | A | June 14, 2022, 5:17 p.m. | OK | PyPy 3-64 | TESTS | 3 | 108 | 7680000 | ||
160673792 | nealzane | A | June 14, 2022, 8:48 p.m. | OK | PyPy 3-64 | TESTS | 3 | 108 | 9625600 | ||
160663632 | marwa.zx | A | June 14, 2022, 6:20 p.m. | OK | PyPy 3-64 | TESTS | 3 | 109 | 8806400 | ||
160665996 | oneku | A | June 14, 2022, 6:47 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 6860800 | ||
160655874 | gesuta | A | June 14, 2022, 5:14 p.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 8499200 | ||
160684739 | EpicChadGamer | A | June 15, 2022, 2:56 a.m. | OK | PyPy 3-64 | TESTS | 3 | 124 | 10342400 | ||
160675878 | zubra.bubra | A | June 14, 2022, 9:44 p.m. | OK | PyPy 3-64 | TESTS | 3 | 140 | 9830400 | ||
160672840 | MashaM | A | June 14, 2022, 8:29 p.m. | OK | PyPy 3-64 | TESTS | 3 | 155 | 10444800 | ||
160690734 | Fernhawk | A | June 15, 2022, 4:45 a.m. | OK | Python 2 | TESTS | 3 | 61 | 204800 | ||
160681822 | gnltjr123 | A | June 15, 2022, 1:43 a.m. | OK | Python 3 | TESTS | 3 | 46 | 0 | ||
160666302 | br4indead | A | June 14, 2022, 6:51 p.m. | OK | Python 3 | TESTS | 3 | 46 | 1024000 | ||
160664743 | Thavanam_Karunakar_Reddy | A | June 14, 2022, 6:32 p.m. | OK | Python 3 | TESTS | 3 | 61 | 307200 | ||
160654870 | a_vantik_a | A | June 14, 2022, 5:08 p.m. | OK | Python 3 | TESTS | 3 | 61 | 307200 | ||
160669484 | akhilesh_m1 | A | June 14, 2022, 7:33 p.m. | OK | Python 3 | TESTS | 3 | 62 | 0 | ||
160689924 | edusanketdk | A | June 15, 2022, 4:33 a.m. | OK | Python 3 | TESTS | 3 | 62 | 307200 | ||
160666215 | Mr_Hactics | A | June 14, 2022, 6:50 p.m. | OK | Python 3 | TESTS | 3 | 77 | 0 | ||
160665441 | numanmahzabin | A | June 14, 2022, 6:41 p.m. | OK | Python 3 | TESTS | 3 | 92 | 0 | ||
160694907 | manudeepak | A | June 15, 2022, 5:48 a.m. | OK | Python 3 | TESTS | 3 | 108 | 0 | ||
160694892 | deepak_deepu007 | A | June 15, 2022, 5:48 a.m. | OK | Python 3 | TESTS | 3 | 108 | 0 | ||
160678963 | Ayalla | A | June 14, 2022, 11:51 p.m. | OK | Ruby 3 | TESTS | 3 | 218 | 0 | ||
160692004 | T0RA | A | June 15, 2022, 5:06 a.m. | OK | Rust 2021 | TESTS | 3 | 0 | 0 | ||
160690257 | Sempr | A | June 15, 2022, 4:38 a.m. | OK | Rust 2021 | TESTS | 3 | 15 | 512000 |
Back to search problems