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 |
---|---|---|---|---|---|---|
1987 | EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) | FINISHED | False | 10800 | 17421863 | June 30, 2024, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 25984 ) | A | Upload More RAM | PROGRAMMING | greedy math |
B'Oh no, the ForceCodes servers are running out of memory! Luckily, you can help them out by uploading some of your RAM! You want to upload n GBs of RAM. Every second, you will upload either 0 or 1 GB of RAM. However, there is a restriction on your network speed: in any k consecutive seconds, you can upload only at most 1 GB of RAM in total. Find the minimum number of seconds needed to upload n GBs of RAM! Each test contains multiple test cases. The first line of input contains a single integer t ( 1 <= t <= 10^4 ) -- the number of test cases. The description of the test cases follows. The first and only line of each test case contains two integers n and k ( 1 <= n, k <= 100 ) -- the number of GBs that you want to upload and the length of the time window respectively. For each test case, output a single integer -- the minimum number of seconds needed to upload n GBs of RAM. In the first test case, you can upload 1 GB of RAM per second, so to upload 5 GBs, you need 5 seconds. In the second test case, you can upload 1 GB in the first second, 0 GBs in the second second, and 1 GB in the third second, which in total adds up to exactly 2 GBs of uploaded RAM. In the third test case, you can upload 1 GB in the first second, 0 GBs in the second second, 0 GBs in the third second, and 1 GB in the fourth second, which in total adds up to exactly 2 GBs of uploaded RAM. '... |
EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
268227622 | sohrab | A | June 30, 2024, 6:57 p.m. | OK | C# 10 | TESTS | 2 | 92 | 1536000 | ||
268225833 | sohrab | A | June 30, 2024, 6:39 p.m. | OK | C# 10 | TESTS | 2 | 108 | 2355200 | ||
268265711 | Krish_Chothani | A | July 1, 2024, 5:20 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 31 | 0 | ||
268263664 | codewithprakhar | A | July 1, 2024, 4:54 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 31 | 0 | ||
268207916 | Clitch | A | June 30, 2024, 4:57 p.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 31 | 0 | ||
268260231 | shu_900 | A | July 1, 2024, 4:13 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 31 | 1638400 | ||
268260963 | Acyclonepl | A | July 1, 2024, 4:22 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 46 | 0 | ||
268270365 | Sunny_Saw | A | July 1, 2024, 6:05 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 46 | 0 | ||
268265805 | Ajthebest | A | July 1, 2024, 5:21 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 46 | 0 | ||
268265020 | kha20221005 | A | July 1, 2024, 5:12 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 46 | 0 | ||
268263879 | rexdino | A | July 1, 2024, 4:56 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 46 | 0 | ||
268263118 | Narendrrrr | A | July 1, 2024, 4:47 a.m. | OK | C++14 (GCC 6-32) | TESTS | 2 | 46 | 0 | ||
268237340 | qaruti | A | June 30, 2024, 9:05 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 15 | 0 | ||
268246000 | Cras0432 | A | July 1, 2024, 12:18 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268270083 | ridoyhasan87 | A | July 1, 2024, 6:03 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268267447 | NoLegs | A | July 1, 2024, 5:38 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268256017 | dustycrown | A | July 1, 2024, 3:19 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268255820 | jakaria92 | A | July 1, 2024, 3:17 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268255565 | power_verse | A | July 1, 2024, 3:13 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268251941 | kavyansh1382 | A | July 1, 2024, 2:18 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268248971 | GoatAnkur | A | July 1, 2024, 1:22 a.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268243986 | MARI0M | A | June 30, 2024, 11:27 p.m. | OK | C++17 (GCC 7-32) | TESTS | 2 | 30 | 0 | ||
268226108 | saimyy_ | A | June 30, 2024, 6:41 p.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 15 | 0 | ||
268247090 | Satyanshu111 | A | July 1, 2024, 12:44 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 15 | 80998400 | ||
268269707 | khlinh1507 | A | July 1, 2024, 5:59 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268268086 | Shebl | A | July 1, 2024, 5:45 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268266455 | kunorz | A | July 1, 2024, 5:28 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268262835 | tai_xiu | A | July 1, 2024, 4:44 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268262485 | didwhddks | A | July 1, 2024, 4:39 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268262122 | Tkehsihba | A | July 1, 2024, 4:35 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268260445 | prabhat_7167 | A | July 1, 2024, 4:16 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268261907 | bephuongg_po | A | July 1, 2024, 4:32 a.m. | OK | C++20 (GCC 13-64) | TESTS | 2 | 30 | 0 | ||
268269822 | bluemegane | A | July 1, 2024, 6 a.m. | OK | C# 8 | TESTS | 2 | 77 | 1740800 | ||
268243504 | Brackets12 | A | June 30, 2024, 11:14 p.m. | OK | FPC | TESTS | 2 | 77 | 0 | ||
268260012 | Vans_21 | A | July 1, 2024, 4:10 a.m. | OK | GNU C11 | TESTS | 2 | 30 | 0 | ||
268208234 | tasnimulhasantoqi | A | June 30, 2024, 4:58 p.m. | OK | GNU C11 | TESTS | 2 | 31 | 0 | ||
268228096 | Mahid | A | June 30, 2024, 7:03 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 102400 | ||
268211070 | Nusss | A | June 30, 2024, 5:07 p.m. | OK | GNU C11 | TESTS | 2 | 46 | 102400 | ||
268262464 | atharvatol04 | A | July 1, 2024, 4:39 a.m. | OK | GNU C11 | TESTS | 2 | 61 | 0 | ||
268213248 | Ayush_Negi | A | June 30, 2024, 5:14 p.m. | OK | GNU C11 | TESTS | 2 | 61 | 0 | ||
268258814 | tamannaislam5686 | A | July 1, 2024, 3:56 a.m. | OK | GNU C11 | TESTS | 2 | 61 | 102400 | ||
268216937 | 4941__PIYUSH | A | June 30, 2024, 5:25 p.m. | OK | GNU C11 | TESTS | 2 | 77 | 0 | ||
268211700 | Al_Mamun_Sikder | A | June 30, 2024, 5:09 p.m. | OK | GNU C11 | TESTS | 2 | 77 | 0 | ||
268266930 | swastikdas1504 | A | July 1, 2024, 5:33 a.m. | OK | GNU C11 | TESTS | 2 | 93 | 0 | ||
268233196 | SD125 | A | June 30, 2024, 8:05 p.m. | OK | Java 21 | TESTS | 2 | 202 | 0 | ||
268258054 | MiTuA | A | July 1, 2024, 3:47 a.m. | OK | Java 21 | TESTS | 2 | 202 | 819200 | ||
268250986 | cccClash | A | July 1, 2024, 2:02 a.m. | OK | Java 21 | TESTS | 2 | 217 | 716800 | ||
268230107 | Om_Kumar | A | June 30, 2024, 7:29 p.m. | OK | Java 21 | TESTS | 2 | 217 | 819200 | ||
268248455 | imhryan | A | July 1, 2024, 1:13 a.m. | OK | Java 21 | TESTS | 2 | 218 | 0 | ||
268209357 | STARKXIV | A | June 30, 2024, 5:01 p.m. | OK | Java 21 | TESTS | 2 | 233 | 512000 | ||
268270005 | anand_mishra_ | A | July 1, 2024, 6:02 a.m. | OK | Java 21 | TESTS | 2 | 234 | 102400 | ||
268208637 | hmj | A | June 30, 2024, 4:59 p.m. | OK | Java 21 | TESTS | 2 | 249 | 307200 | ||
268255338 | keshav_.agg | A | July 1, 2024, 3:10 a.m. | OK | Java 21 | TESTS | 2 | 249 | 614400 | ||
268225110 | ahmadb11 | A | June 30, 2024, 6:36 p.m. | OK | Java 21 | TESTS | 2 | 249 | 716800 | ||
268231006 | CipherSphinx_Raj | A | June 30, 2024, 7:38 p.m. | OK | Java 8 | TESTS | 2 | 155 | 39116800 | ||
268250235 | toufique_husein | A | July 1, 2024, 1:49 a.m. | OK | Java 8 | TESTS | 2 | 171 | 0 | ||
268255207 | alllexey | A | July 1, 2024, 3:08 a.m. | OK | Java 8 | TESTS | 2 | 186 | 0 | ||
268267309 | Kaikondar | A | July 1, 2024, 5:37 a.m. | OK | Java 8 | TESTS | 2 | 202 | 0 | ||
268260219 | klu_2100031500 | A | July 1, 2024, 4:13 a.m. | OK | Java 8 | TESTS | 2 | 202 | 0 | ||
268259955 | atheshwaran | A | July 1, 2024, 4:09 a.m. | OK | Java 8 | TESTS | 2 | 202 | 0 | ||
268248573 | ankushtyagi | A | July 1, 2024, 1:15 a.m. | OK | Java 8 | TESTS | 2 | 202 | 0 | ||
268249746 | nandeeshkhant3205 | A | July 1, 2024, 1:38 a.m. | OK | Java 8 | TESTS | 2 | 203 | 0 | ||
268255942 | gnurr | A | July 1, 2024, 3:18 a.m. | OK | Java 8 | TESTS | 2 | 218 | 0 | ||
268212879 | architasahoo02 | A | June 30, 2024, 5:13 p.m. | OK | Java 8 | TESTS | 2 | 218 | 0 | ||
268270114 | vaibhav245 | A | July 1, 2024, 6:03 a.m. | OK | PyPy 3 | TESTS | 2 | 171 | 4812800 | ||
268231543 | kbliu | A | June 30, 2024, 7:45 p.m. | OK | PyPy 3 | TESTS | 2 | 218 | 4096000 | ||
268255802 | Ishaan_06 | A | July 1, 2024, 3:16 a.m. | OK | PyPy 3 | TESTS | 2 | 218 | 4812800 | ||
268230357 | Martinien_ENSAF | A | June 30, 2024, 7:31 p.m. | OK | PyPy 3 | TESTS | 2 | 218 | 4812800 | ||
268228960 | Pixel_Coder | A | June 30, 2024, 7:15 p.m. | OK | PyPy 3-64 | TESTS | 2 | 62 | 3174400 | ||
268236885 | gardengnome | A | June 30, 2024, 8:58 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 2355200 | ||
268224873 | YhuanDebeste | A | June 30, 2024, 6:35 p.m. | OK | PyPy 3-64 | TESTS | 2 | 77 | 3072000 | ||
268211281 | striver_2.0 | A | June 30, 2024, 5:08 p.m. | OK | PyPy 3-64 | TESTS | 2 | 78 | 3584000 | ||
268225618 | dumEinstein | A | June 30, 2024, 6:38 p.m. | OK | PyPy 3-64 | TESTS | 2 | 93 | 2662400 | ||
268262690 | NitroSpear | A | July 1, 2024, 4:42 a.m. | OK | PyPy 3-64 | TESTS | 2 | 93 | 2867200 | ||
268251405 | mikeac | A | July 1, 2024, 2:10 a.m. | OK | PyPy 3-64 | TESTS | 2 | 93 | 2867200 | ||
268225341 | TediousR | A | June 30, 2024, 6:37 p.m. | OK | PyPy 3-64 | TESTS | 2 | 93 | 2867200 | ||
268242471 | jvatsal0709 | A | June 30, 2024, 10:49 p.m. | OK | PyPy 3-64 | TESTS | 2 | 93 | 2969600 | ||
268227561 | _Lago_ | A | June 30, 2024, 6:56 p.m. | OK | PyPy 3-64 | TESTS | 2 | 108 | 2048000 | ||
268234786 | Ahmed20Amir24 | A | June 30, 2024, 8:27 p.m. | OK | Python 3 | TESTS | 2 | 62 | 204800 | ||
268228108 | shubhamgoel0711 | A | June 30, 2024, 7:04 p.m. | OK | Python 3 | TESTS | 2 | 77 | 0 | ||
268263330 | Kushick | A | July 1, 2024, 4:49 a.m. | OK | Python 3 | TESTS | 2 | 78 | 0 | ||
268230348 | mahmudulsakib2019 | A | June 30, 2024, 7:31 p.m. | OK | Python 3 | TESTS | 2 | 78 | 0 | ||
268213374 | udalitegrafi | A | June 30, 2024, 5:14 p.m. | OK | Python 3 | TESTS | 2 | 92 | 0 | ||
268211956 | Blake_Blastburn | A | June 30, 2024, 5:10 p.m. | OK | Python 3 | TESTS | 2 | 92 | 0 | ||
268267665 | veera_teja_007 | A | July 1, 2024, 5:40 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
268265659 | thombareprasad007 | A | July 1, 2024, 5:19 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
268260265 | def337485 | A | July 1, 2024, 4:13 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
268251124 | minussix | A | July 1, 2024, 2:05 a.m. | OK | Python 3 | TESTS | 2 | 93 | 0 | ||
268252565 | 0x81 | A | July 1, 2024, 2:29 a.m. | OK | Ruby 3 | TESTS | 2 | 264 | 1331200 | ||
268228726 | YhuanDebeste | A | June 30, 2024, 7:12 p.m. | OK | Ruby 3 | TESTS | 2 | 296 | 819200 | ||
268228792 | YhuanDebeste | A | June 30, 2024, 7:13 p.m. | OK | Ruby 3 | TESTS | 2 | 405 | 819200 | ||
268225605 | vstiff | A | June 30, 2024, 6:38 p.m. | OK | Rust 2021 | TESTS | 2 | 46 | 0 |
Back to search problems