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 |
|---|---|---|---|---|---|---|
| 883 | 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) | FINISHED | False | 18000 | 267832523 | Oct. 21, 2017, 8:05 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 658 ) | C | Downloading B++ | PROGRAMMING | binary search | 2400 |
Only T milliseconds left before the start of well-known online programming contest Codehorses Round 2017. Polycarp needs to download B++ compiler to take part in the contest. The size of the file is f bytes. Polycarp's internet tariff allows to download data at the rate of one byte per t 0 milliseconds. This tariff is already prepaid, and its use does not incur any expense for Polycarp. In addition, the Internet service provider offers two additional packages: download a 1 bytes at the rate of one byte per t 1 milliseconds, paying p 1 burles for the package; download a 2 bytes at the rate of one byte per t 2 milliseconds, paying p 2 burles for the package. Polycarp can buy any package many times. When buying a package, its price ( p 1 or p 2 ) is prepaid before usage. Once a package is bought it replaces the regular tariff until package data limit is completely used. After a package is consumed Polycarp can immediately buy a new package or switch to the regular tariff without loosing any time. While a package is in use Polycarp can't buy another package or switch back to the regular internet tariff. Find the minimum amount of money Polycarp has to spend to download an f bytes file no more than in T milliseconds. Note that because of technical reasons Polycarp can download only integer number of bytes using regular tariff and both packages. I.e. in each of three downloading modes the number of downloaded bytes will be integer. It means that Polycarp can't download a byte partially using the regular tariff or/and both packages. The first line contains three integer numbers f , T and t 0 ( 1 ≤ f , T , t 0 ≤ 10 7 ) — size of the file to download (in bytes), maximal time to download the file (in milliseconds) and number of milliseconds to download one byte using the regular internet tariff. The second line contains a description of the first additional package. The line contains three integer numbers a 1 , t 1 and p 1 ( 1 ≤ a 1 , t 1 , p 1 ≤ 10 7 ), where a 1 i |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 32002674 | nlebachnlb | C | Nov. 3, 2017, 9:12 a.m. | OK | FPC | TESTS | 121 | 327 | 102400 | 2400 | |
| 32002847 | ThuanPhongnbk | C | Nov. 3, 2017, 9:19 a.m. | OK | FPC | TESTS | 121 | 343 | 102400 | 2400 | |
| 31571615 | nguyenxxxxxxx VAVAvile heklo | C | Oct. 21, 2017, 12:05 p.m. | OK | FPC | TESTS | 122 | 390 | 1740800 | 2400 | |
| 31698919 | droidlyx86 | C | Oct. 25, 2017, 4:57 a.m. | OK | GNU C++ | TESTS | 122 | 124 | 80281600 | 2400 | |
| 31865364 | vjudge2 | C | Oct. 29, 2017, 11:47 a.m. | OK | GNU C++ | TESTS | 122 | 187 | 0 | 2400 | |
| 31936983 | vjudge3 | C | Nov. 1, 2017, 2:54 a.m. | OK | GNU C++ | TESTS | 122 | 202 | 0 | 2400 | |
| 32074502 | Georgia_001 | C | Nov. 5, 2017, 11:21 a.m. | OK | GNU C++ | TESTS | 121 | 234 | 0 | 2400 | |
| 31598548 | DeaphetS Zarxdy34 | C | Oct. 22, 2017, 9:08 a.m. | OK | GNU C++ | TESTS | 122 | 234 | 2048000 | 2400 | |
| 33399807 | vjudge4 | C | Dec. 19, 2017, 7:07 a.m. | OK | GNU C++ | TESTS | 121 | 234 | 2252800 | 2400 | |
| 33399311 | vjudge2 | C | Dec. 19, 2017, 6:42 a.m. | OK | GNU C++ | TESTS | 121 | 234 | 2252800 | 2400 | |
| 32003230 | itskoi | C | Nov. 3, 2017, 9:35 a.m. | OK | GNU C++ | TESTS | 121 | 249 | 0 | 2400 | |
| 31942932 | hochocmai | C | Nov. 1, 2017, 8:34 a.m. | OK | GNU C++ | TESTS | 122 | 249 | 102400 | 2400 | |
| 33455728 | wangjihe | C | Dec. 20, 2017, 1 p.m. | OK | GNU C++ | TESTS | 121 | 249 | 2048000 | 2400 | |
| 31671208 | MuRoD | C | Oct. 24, 2017, 6:46 a.m. | OK | GNU C++11 | TESTS | 122 | 15 | 2048000 | 2400 | |
| 40979366 | ReaLNero1 | C | July 30, 2018, 5:02 p.m. | OK | GNU C++11 | TESTS | 121 | 31 | 0 | 2400 | |
| 31575295 | I_Love_Ginger | C | Oct. 21, 2017, 1:10 p.m. | OK | GNU C++11 | TESTS | 122 | 109 | 82227200 | 2400 | |
| 38926434 | DCNick3 | C | June 3, 2018, 4:52 p.m. | OK | GNU C++11 | TESTS | 121 | 140 | 3379200 | 2400 | |
| 31574990 | zzhao1996 zzx123 I_Love_Ginger | C | Oct. 21, 2017, 1:03 p.m. | OK | GNU C++11 | TESTS | 122 | 155 | 82227200 | 2400 | |
| 32126563 | ShahedMM | C | Nov. 7, 2017, 5:17 p.m. | OK | GNU C++11 | TESTS | 121 | 187 | 0 | 2400 | |
| 32056150 | XJT | C | Nov. 4, 2017, 2:35 p.m. | OK | GNU C++11 | TESTS | 121 | 202 | 102400 | 2400 | |
| 51082970 | luogu_bot1 | C | March 9, 2019, 12:03 p.m. | OK | GNU C++11 | TESTS | 121 | 217 | 0 | 2400 | |
| 51082954 | luogu_bot4 | C | March 9, 2019, 12:03 p.m. | OK | GNU C++11 | TESTS | 121 | 218 | 0 | 2400 | |
| 31724854 | lixolas marcospaulo Lixoskywalker | C | Oct. 25, 2017, 10:50 p.m. | OK | GNU C++11 | TESTS | 122 | 218 | 0 | 2400 | |
| 31573244 | osmanorhan | C | Oct. 21, 2017, 12:35 p.m. | OK | GNU C++14 | TESTS | 122 | 156 | 1945600 | 2400 | |
| 31561828 | chrisboo wakaka meeeep | C | Oct. 21, 2017, 9:28 a.m. | OK | GNU C++14 | TESTS | 122 | 187 | 1945600 | 2400 | |
| 54665181 | bhargav_0085 | C | May 26, 2019, 12:55 p.m. | OK | GNU C++14 | TESTS | 121 | 202 | 0 | 2400 | |
| 31859768 | Micah_Miao | C | Oct. 29, 2017, 8:04 a.m. | OK | GNU C++14 | TESTS | 122 | 202 | 0 | 2400 | |
| 44451522 | n_dao107 | C | Oct. 17, 2018, 4:06 p.m. | OK | GNU C++14 | TESTS | 121 | 218 | 0 | 2400 | |
| 43496885 | Anton_Chernev iddilov daninnm | C | Sept. 27, 2018, 3:08 p.m. | OK | GNU C++14 | TESTS | 121 | 218 | 0 | 2400 | |
| 31578984 | whczss | C | Oct. 21, 2017, 3:18 p.m. | OK | GNU C++14 | TESTS | 122 | 218 | 1945600 | 2400 | |
| 66162532 | yupyupyupyupyup | C | Dec. 2, 2019, 5:32 a.m. | OK | GNU C++14 | TESTS | 121 | 233 | 0 | 2400 | |
| 32001427 | phoaiphuthinh | C | Nov. 3, 2017, 8:19 a.m. | OK | GNU C++14 | TESTS | 121 | 234 | 0 | 2400 | |
| 31797440 | mishobaxa1234 | C | Oct. 27, 2017, 1:43 p.m. | OK | GNU C++14 | TESTS | 122 | 234 | 0 | 2400 | |
| 58200942 | vjudge2 | C | Aug. 3, 2019, 4:12 a.m. | OK | GNU C++17 | TESTS | 121 | 171 | 0 | 2400 | |
| 42347559 | nns2009 | C | Sept. 1, 2018, 11:49 p.m. | OK | GNU C++17 | TESTS | 121 | 249 | 0 | 2400 | |
| 47171195 | 2191699104 | C | Dec. 17, 2018, 3:05 p.m. | OK | GNU C++17 | TESTS | 121 | 295 | 0 | 2400 | |
| 65320422 | Round_Dice | C | Nov. 18, 2019, 7:25 p.m. | OK | GNU C++17 | TESTS | 121 | 296 | 0 | 2400 | |
| 63070204 | luogu_bot2 | C | Oct. 21, 2019, 12:10 p.m. | OK | GNU C++17 | TESTS | 121 | 311 | 0 | 2400 | |
| 58197930 | hbi1998 | C | Aug. 3, 2019, 2:08 a.m. | OK | GNU C++17 | TESTS | 121 | 343 | 0 | 2400 | |
| 56870491 | hjk1030 | C | July 12, 2019, 6:10 a.m. | OK | GNU C++17 | TESTS | 121 | 358 | 0 | 2400 | |
| 44091176 | Fortin | C | Oct. 10, 2018, 7:25 p.m. | OK | GNU C++17 | TESTS | 121 | 374 | 0 | 2400 | |
| 47284318 | chinmay0906 | C | Dec. 20, 2018, 4:54 a.m. | OK | GNU C++17 | TESTS | 121 | 436 | 0 | 2400 | |
| 44091154 | Fortin | C | Oct. 10, 2018, 7:25 p.m. | OK | GNU C++17 | TESTS | 121 | 732 | 0 | 2400 | |
| 31571788 | fetetriste mipt.vi002 | C | Oct. 21, 2017, 12:09 p.m. | OK | Java 8 | TESTS | 122 | 841 | 20582400 | 2400 | |
| 31571933 | fetetriste mipt.vi002 | C | Oct. 21, 2017, 12:11 p.m. | OK | Java 8 | TESTS | 122 | 889 | 20582400 | 2400 | |
| 43405081 | BaZ_ | C | Sept. 25, 2018, 11:03 a.m. | OK | Java 8 | TESTS | 121 | 967 | 0 | 2400 | |
| 31571974 | fetetriste mipt.vi002 | C | Oct. 21, 2017, 12:12 p.m. | OK | Java 8 | TESTS | 122 | 1029 | 20582400 | 2400 | |
| 31574926 | tmwilliamlin168 Slamur | C | Oct. 21, 2017, 1:02 p.m. | OK | Java 8 | TESTS | 122 | 1840 | 21094400 | 2400 | |
| 31628332 | aya_cool | C | Oct. 23, 2017, 12:23 p.m. | OK | Java 8 | TESTS | 122 | 2324 | 20582400 | 2400 | |
| 31628299 | DAIICTian | C | Oct. 23, 2017, 12:22 p.m. | OK | Java 8 | TESTS | 122 | 2324 | 20582400 | 2400 | |
| 31569423 | lucyanna2018 | C | Oct. 21, 2017, 11:29 a.m. | OK | MS C++ | TESTS | 122 | 405 | 2048000 | 2400 |
Back to search problems