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 |
---|---|---|---|---|---|---|
1650 | Codeforces Round 776 (Div. 3) | FINISHED | False | 8100 | 85073099 | March 8, 2022, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 1496 ) | F | Vitaly and Advanced Useless Algorithms | PROGRAMMING | dp greedy |
B'Vitaly enrolled in the course Advanced Useless Algorithms. The course consists of n tasks. Vitaly calculated that he has a_i hours to do the task i from the day he enrolled in the course. That is, the deadline before the i -th task is a_i hours. The array a is sorted in ascending order, in other words, the job numbers correspond to the order in which the assignments are turned in. Vitaly does everything conscientiously, so he wants to complete each task by 100 percent, or more. Initially, his completion rate for each task is 0 percent. Vitaly has m training options, each option can be used not more than once. The i th option is characterized by three integers: e_i, t_i and p_i . If Vitaly uses the i th option, then after t_i hours (from the current moment) he will increase the progress of the task e_i by p_i percent. For example, let Vitaly have 3 of tasks to complete. Let the array a have the form: a = [5, 7, 8] . Suppose Vitaly has 5 of options: [e_1=1, t_1=1, p_1=30] , [e_2=2, t_2=3, p_2=50] , [e_3=2, t_3=3, p_3=100] , [e_4=1, t_4=1, p_4=80] , [e_5=3, t_5=3, p_5=100] . Then, if Vitaly prepares in the following way, he will be able to complete everything in time: Thus, Vitaly has managed to complete the course completely and on time, using the 4 options. Help Vitaly -- print the options for Vitaly to complete the tasks in the correct order. Please note: each option can be used not more than once. If there are several possible answers, it is allowed to output any of them. The first line of input data contains an integer T ( 1 <= T <= 10^4 ) --the number of input test cases in the test. The descriptions of the input test case follow. The first line of each test case description contains two integers n and m ( 1 <= n,m <= 10^5 ) --the number of jobs and the number of training'... |
100712 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
148915367 | Etohari | F | March 8, 2022, 5:46 p.m. | OK | GNU C++14 | TESTS | 26 | 124 | 3481600 | ||
148941481 | lplalbert111 | F | March 9, 2022, 3:27 a.m. | OK | GNU C++14 | TESTS | 27 | 171 | 92160000 | ||
148911166 | yiwangchensha | F | March 8, 2022, 5:10 p.m. | OK | GNU C++14 | TESTS | 26 | 187 | 25292800 | ||
148903855 | Serva1 | F | March 8, 2022, 4:41 p.m. | OK | GNU C++14 | TESTS | 26 | 202 | 171212800 | ||
148950206 | starchlight | F | March 9, 2022, 5:53 a.m. | OK | GNU C++14 | TESTS | 27 | 233 | 216371200 | ||
148917033 | lczx | F | March 8, 2022, 6:03 p.m. | OK | GNU C++14 | TESTS | 26 | 249 | 45772800 | ||
148919648 | Electron | F | March 8, 2022, 6:34 p.m. | OK | GNU C++14 | TESTS | 26 | 280 | 5529600 | ||
148945361 | Bear_2 | F | March 9, 2022, 4:43 a.m. | OK | GNU C++14 | TESTS | 27 | 280 | 6860800 | ||
148915364 | awoo | F | March 8, 2022, 5:46 p.m. | OK | GNU C++14 | TESTS | 26 | 312 | 8908800 | ||
148924668 | Bedo_Sayed | F | March 8, 2022, 7:47 p.m. | OK | GNU C++14 | TESTS | 26 | 358 | 10444800 | ||
148921062 | CarolinaMoura | F | March 8, 2022, 6:53 p.m. | OK | GNU C++17 | TESTS | 26 | 124 | 48230400 | ||
148948587 | _Guoxin | F | March 9, 2022, 5:32 a.m. | OK | GNU C++17 | TESTS | 27 | 140 | 50380800 | ||
148910083 | lewinlight1202 | F | March 8, 2022, 5:03 p.m. | OK | GNU C++17 | TESTS | 26 | 140 | 249856000 | ||
148905510 | TIE-Fighter | F | March 8, 2022, 4:45 p.m. | OK | GNU C++17 | TESTS | 26 | 171 | 4300800 | ||
148926984 | ElyesChaabouni | F | March 8, 2022, 8:29 p.m. | OK | GNU C++17 | TESTS | 26 | 171 | 5529600 | ||
148926077 | Agnimandur | F | March 8, 2022, 8:12 p.m. | OK | GNU C++17 | TESTS | 26 | 171 | 5734400 | ||
148929745 | Mtaylor | F | March 8, 2022, 9:24 p.m. | OK | GNU C++17 | TESTS | 26 | 171 | 8192000 | ||
148918041 | andrei_boaca | F | March 8, 2022, 6:14 p.m. | OK | GNU C++17 | TESTS | 26 | 171 | 47513600 | ||
148904672 | KanadeChin | F | March 8, 2022, 4:43 p.m. | OK | GNU C++17 | TESTS | 26 | 187 | 53043200 | ||
148922612 | RT31415 | F | March 8, 2022, 7:15 p.m. | OK | GNU C++17 | TESTS | 26 | 187 | 125132800 | ||
148919412 | rgnerdplayer | F | March 8, 2022, 6:31 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 109 | 3891200 | ||
148910742 | rt3 | F | March 8, 2022, 5:07 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 139 | 171520000 | ||
148921498 | xiaolaogou | F | March 8, 2022, 6:59 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 155 | 4198400 | ||
148926970 | TITANOBOXER | F | March 8, 2022, 8:29 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 155 | 7168000 | ||
148923295 | pd_codes | F | March 8, 2022, 7:26 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 155 | 7168000 | ||
148923193 | pd_codes | F | March 8, 2022, 7:25 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 155 | 7168000 | ||
148927747 | kunal_rai | F | March 8, 2022, 8:42 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 155 | 9011200 | ||
148908486 | SmolBrain | F | March 8, 2022, 4:53 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 155 | 9625600 | ||
148941602 | Rekaxem | F | March 9, 2022, 3:30 a.m. | OK | GNU C++17 (64) | TESTS | 27 | 155 | 124825600 | ||
148904401 | gardster | F | March 8, 2022, 4:43 p.m. | OK | GNU C++17 (64) | TESTS | 26 | 156 | 6246400 | ||
148924940 | maghrabyJr_ | F | March 8, 2022, 7:52 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 93 | 4608000 | ||
148935225 | longwei728 | F | March 9, 2022, 12:47 a.m. | OK | GNU C++20 (64) | TESTS | 27 | 93 | 90214400 | ||
148936055 | Dog_food_is_me | F | March 9, 2022, 1:12 a.m. | OK | GNU C++20 (64) | TESTS | 27 | 108 | 98611200 | ||
148914365 | jiangly | F | March 8, 2022, 5:36 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 109 | 3891200 | ||
148937760 | dean.menezes | F | March 9, 2022, 2:02 a.m. | OK | GNU C++20 (64) | TESTS | 27 | 109 | 138649600 | ||
148935502 | sjc061031 | F | March 9, 2022, 12:55 a.m. | OK | GNU C++20 (64) | TESTS | 27 | 109 | 141107200 | ||
148904886 | milind0110 | F | March 8, 2022, 4:44 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 109 | 163532800 | ||
148909623 | magnus.hegdahl | F | March 8, 2022, 5 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 109 | 207052800 | ||
148921187 | Ebiarat | F | March 8, 2022, 6:55 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 124 | 27852800 | ||
148915210 | yash_daga | F | March 8, 2022, 5:44 p.m. | OK | GNU C++20 (64) | TESTS | 26 | 124 | 100556800 | ||
148911704 | ripity | F | March 8, 2022, 5:14 p.m. | OK | Java 11 | TESTS | 26 | 1544 | 10854400 | ||
148904862 | ripity | F | March 8, 2022, 4:44 p.m. | OK | Java 11 | TESTS | 26 | 1575 | 10956800 | ||
148922266 | Golovanov399 | F | March 8, 2022, 7:10 p.m. | OK | Kotlin 1.5 | TESTS | 26 | 545 | 12492800 | ||
148914936 | r57shell | F | March 8, 2022, 5:42 p.m. | OK | MS C++ 2017 | TESTS | 26 | 187 | 3276800 | ||
148923471 | Alexey | F | March 8, 2022, 7:29 p.m. | OK | MS C++ 2017 | TESTS | 26 | 545 | 4608000 | ||
148910546 | misorin | F | March 8, 2022, 5:06 p.m. | OK | PyPy 3 | TESTS | 26 | 717 | 37888000 | ||
148914823 | xuhao95 | F | March 8, 2022, 5:40 p.m. | OK | PyPy 3 | TESTS | 26 | 1825 | 23961600 |
Back to search problems