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 |
---|---|---|---|---|---|---|
1926 | Codeforces Round 928 (Div. 4) | FINISHED | False | 8100 | 28826663 | Feb. 19, 2024, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 27882 ) | C | Vlad and a Sum of Sum of Digits | PROGRAMMING | dp implementation |
B'Please note that the time limit for this problem is only 0.5 seconds per test. Vladislav wrote the integers from 1 to n , inclusive, on the board. Then he replaced each integer with the sum of its digits. What is the sum of the numbers on the board now? For example, if n=12 then initially the numbers on the board are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. Then after the replacement, the numbers become: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3. The sum of these numbers is 1+2+3+4+5+6+7+8+9+1+2+3=51 . Thus, for n=12 the answer is 51 . The first line contains an integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The only line of each test case contains a single integer n ( 1 <= q n <= q 2 cdot 10^5 ) -- the largest number Vladislav writes. For each test case, output a single integer -- the sum of the numbers at the end of the process. '... |
126132 |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
247393536 | Ezonok | C | Feb. 19, 2024, 8:12 p.m. | OK | C# 10 | TESTS | 19 | 77 | 716800 | ||
247381771 | stupidnessplusplus | C | Feb. 19, 2024, 6:22 p.m. | OK | C# 10 | TESTS | 4 | 108 | 1433600 | ||
247379046 | AyanshSrivastava | C | Feb. 19, 2024, 6:01 p.m. | OK | Clang++17 Diagnostics | TESTS | 4 | 155 | 819200 | ||
247376529 | prabhatyadav60 | C | Feb. 19, 2024, 5:44 p.m. | OK | Clang++20 Diagnostics | TESTS | 4 | 202 | 1638400 | ||
247403205 | Gassa | C | Feb. 19, 2024, 10:30 p.m. | OK | D | TESTS | 19 | 93 | 6348800 | ||
247403400 | Gassa | C | Feb. 19, 2024, 10:34 p.m. | OK | D | TESTS | 19 | 93 | 6348800 | ||
247403195 | Gassa | C | Feb. 19, 2024, 10:30 p.m. | OK | D | TESTS | 19 | 109 | 6348800 | ||
247393770 | saifshahriar3301 | C | Feb. 19, 2024, 8:14 p.m. | OK | GNU C11 | TESTS | 19 | 31 | 1024000 | ||
247392946 | saifshahriar3301 | C | Feb. 19, 2024, 8:06 p.m. | OK | GNU C11 | TESTS | 4 | 31 | 1024000 | ||
247378891 | 0x81 | C | Feb. 19, 2024, 6 p.m. | OK | GNU C11 | TESTS | 4 | 31 | 1024000 | ||
247372780 | 3xplore09 | C | Feb. 19, 2024, 5:21 p.m. | OK | GNU C11 | TESTS | 4 | 46 | 1024000 | ||
247368258 | ferdous15 | C | Feb. 19, 2024, 5 p.m. | OK | GNU C11 | TESTS | 4 | 46 | 1024000 | ||
247383390 | uchiha_itachi_1308 | C | Feb. 19, 2024, 6:35 p.m. | OK | GNU C11 | TESTS | 4 | 46 | 1638400 | ||
247406378 | bakul512gupta | C | Feb. 19, 2024, 11:49 p.m. | OK | GNU C11 | TESTS | 19 | 61 | 307200 | ||
247393517 | simpulal | C | Feb. 19, 2024, 8:12 p.m. | OK | GNU C11 | TESTS | 19 | 61 | 307200 | ||
247392026 | JoksimKaktus | C | Feb. 19, 2024, 7:56 p.m. | OK | GNU C11 | TESTS | 4 | 61 | 819200 | ||
247385198 | Madhur_20 | C | Feb. 19, 2024, 6:50 p.m. | OK | GNU C11 | TESTS | 4 | 61 | 1843200 | ||
247370840 | emersonjr02 | C | Feb. 19, 2024, 5:11 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 0 | ||
247381221 | jon_stark34 | C | Feb. 19, 2024, 6:17 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 819200 | ||
247370835 | shubhamjha2405 | C | Feb. 19, 2024, 5:11 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 819200 | ||
247374050 | _Sherlock_Holmes | C | Feb. 19, 2024, 5:29 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 819200 | ||
247373919 | Specialist_by_2025. | C | Feb. 19, 2024, 5:28 p.m. | OK | GNU C++17 | TESTS | 4 | 0 | 1638400 | ||
247385160 | CBunch | C | Feb. 19, 2024, 6:50 p.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
247378960 | Darshanraj | C | Feb. 19, 2024, 6:01 p.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
247393084 | zeroday1934 | C | Feb. 19, 2024, 8:08 p.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
247398230 | ricc0103 | C | Feb. 19, 2024, 9:07 p.m. | OK | GNU C++17 | TESTS | 19 | 15 | 0 | ||
247385032 | CBunch | C | Feb. 19, 2024, 6:49 p.m. | OK | GNU C++17 | TESTS | 4 | 15 | 0 | ||
247377206 | _Al1bi_ | C | Feb. 19, 2024, 5:49 p.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 0 | ||
247411225 | lxlmzd | C | Feb. 20, 2024, 1:29 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 0 | ||
247370454 | sevenac | C | Feb. 19, 2024, 5:10 p.m. | OK | GNU C++17 (64) | TESTS | 4 | 15 | 716800 | ||
247414047 | Lingmori | C | Feb. 20, 2024, 2:18 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247421499 | kkakarott | C | Feb. 20, 2024, 3:59 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247421401 | aakashsirohi | C | Feb. 20, 2024, 3:58 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247419000 | lilyuan | C | Feb. 20, 2024, 3:27 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247411934 | enslaved | C | Feb. 20, 2024, 1:42 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247411789 | himanshupatil45h | C | Feb. 20, 2024, 1:39 a.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247406537 | laoguo1112359 | C | Feb. 19, 2024, 11:53 p.m. | OK | GNU C++17 (64) | TESTS | 19 | 15 | 819200 | ||
247371630 | kelzzin2_fan | C | Feb. 19, 2024, 5:15 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
247374342 | midu_01 | C | Feb. 19, 2024, 5:30 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
247385308 | janY_ | C | Feb. 19, 2024, 6:51 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
247389699 | coder_ritz | C | Feb. 19, 2024, 7:33 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 0 | ||
247392102 | SubmissionRejected | C | Feb. 19, 2024, 7:57 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 819200 | ||
247418939 | kanye_north | C | Feb. 20, 2024, 3:26 a.m. | OK | GNU C++20 (64) | TESTS | 19 | 0 | 819200 | ||
247380329 | pseudonam | C | Feb. 19, 2024, 6:10 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 819200 | ||
247380929 | IsacBieber | C | Feb. 19, 2024, 6:15 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 819200 | ||
247386999 | habibaseif_19 | C | Feb. 19, 2024, 7:07 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 819200 | ||
247390308 | Mohmed-gado | C | Feb. 19, 2024, 7:39 p.m. | OK | GNU C++20 (64) | TESTS | 4 | 0 | 819200 | ||
247421099 | Mr.Hakimov | C | Feb. 20, 2024, 3:54 a.m. | OK | Go | TESTS | 19 | 31 | 1843200 | ||
247395982 | where_is_my_mind | C | Feb. 19, 2024, 8:39 p.m. | OK | Go | TESTS | 19 | 31 | 1843200 | ||
247381444 | north_069 | C | Feb. 19, 2024, 6:19 p.m. | OK | Go | TESTS | 4 | 78 | 5017600 | ||
247386134 | dm.sizov | C | Feb. 19, 2024, 6:58 p.m. | OK | Go | TESTS | 4 | 93 | 20787200 | ||
247368995 | var_hash | C | Feb. 19, 2024, 5:03 p.m. | OK | Java 21 | TESTS | 4 | 233 | 102400 | ||
247390197 | nazimazhaan17 | C | Feb. 19, 2024, 7:38 p.m. | OK | Java 21 | TESTS | 4 | 234 | 102400 | ||
247367781 | vikasseervi357 | C | Feb. 19, 2024, 4:58 p.m. | OK | Java 21 | TESTS | 4 | 248 | 0 | ||
247383727 | bommidilaxman1017 | C | Feb. 19, 2024, 6:37 p.m. | OK | Java 21 | TESTS | 4 | 249 | 0 | ||
247370113 | lucky1305 | C | Feb. 19, 2024, 5:08 p.m. | OK | Java 21 | TESTS | 4 | 249 | 0 | ||
247375005 | Deependra_coder | C | Feb. 19, 2024, 5:34 p.m. | OK | Java 21 | TESTS | 4 | 264 | 0 | ||
247389504 | dineshchandran311 | C | Feb. 19, 2024, 7:31 p.m. | OK | Java 21 | TESTS | 4 | 265 | 0 | ||
247387762 | Devil_7 | C | Feb. 19, 2024, 7:14 p.m. | OK | Java 21 | TESTS | 4 | 265 | 0 | ||
247381179 | V1GYAT | C | Feb. 19, 2024, 6:17 p.m. | OK | Java 21 | TESTS | 4 | 265 | 0 | ||
247367618 | _Titans_ | C | Feb. 19, 2024, 4:57 p.m. | OK | Java 21 | TESTS | 4 | 265 | 102400 | ||
247391091 | joycelalalayaa | C | Feb. 19, 2024, 7:47 p.m. | OK | Java 8 | TESTS | 4 | 93 | 0 | ||
247386086 | abhayrajnegi0416 | C | Feb. 19, 2024, 6:58 p.m. | OK | Java 8 | TESTS | 4 | 93 | 0 | ||
247373193 | YarosHarm | C | Feb. 19, 2024, 5:24 p.m. | OK | Java 8 | TESTS | 4 | 108 | 0 | ||
247369918 | i_ujjwal | C | Feb. 19, 2024, 5:07 p.m. | OK | Java 8 | TESTS | 4 | 108 | 0 | ||
247406808 | Safawt | C | Feb. 19, 2024, 11:59 p.m. | OK | Java 8 | TESTS | 19 | 109 | 0 | ||
247378765 | gdax | C | Feb. 19, 2024, 5:59 p.m. | OK | Java 8 | TESTS | 4 | 109 | 0 | ||
247370052 | arpita010 | C | Feb. 19, 2024, 5:08 p.m. | OK | Java 8 | TESTS | 4 | 109 | 0 | ||
247409457 | duyipeng | C | Feb. 20, 2024, 12:55 a.m. | OK | Java 8 | TESTS | 19 | 124 | 0 | ||
247421818 | NerfThis | C | Feb. 20, 2024, 4:03 a.m. | OK | Java 8 | TESTS | 19 | 140 | 0 | ||
247395546 | Safawt | C | Feb. 19, 2024, 8:35 p.m. | OK | Java 8 | TESTS | 19 | 155 | 0 | ||
247416527 | linxiaotian | C | Feb. 20, 2024, 2:55 a.m. | OK | Kotlin 1.9 | TESTS | 19 | 218 | 1536000 | ||
247367810 | JamesDeer | C | Feb. 19, 2024, 4:58 p.m. | OK | Kotlin 1.9 | TESTS | 4 | 233 | 15360000 | ||
247414910 | aluckyboy | C | Feb. 20, 2024, 2:31 a.m. | OK | MS C++ 2017 | TESTS | 19 | 31 | 1638400 | ||
247388285 | KirillRas | C | Feb. 19, 2024, 7:19 p.m. | OK | MS C++ 2017 | TESTS | 4 | 31 | 2457600 | ||
247382414 | twispifoxy | C | Feb. 19, 2024, 6:27 p.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 819200 | ||
247373815 | Prashant_Tripathi | C | Feb. 19, 2024, 5:27 p.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 819200 | ||
247369418 | Abhay_Sharma | C | Feb. 19, 2024, 5:05 p.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 819200 | ||
247377495 | alle_bpy | C | Feb. 19, 2024, 5:50 p.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 1638400 | ||
247370759 | SeryVolk | C | Feb. 19, 2024, 5:11 p.m. | OK | MS C++ 2017 | TESTS | 4 | 46 | 7987200 | ||
247369020 | Megurii | C | Feb. 19, 2024, 5:03 p.m. | OK | MS C++ 2017 | TESTS | 4 | 61 | 819200 | ||
247392784 | MdAnas6757 | C | Feb. 19, 2024, 8:04 p.m. | OK | MS C++ 2017 | TESTS | 4 | 62 | 0 | ||
247387243 | grigorijg66 | C | Feb. 19, 2024, 7:09 p.m. | OK | MS C++ 2017 | TESTS | 4 | 62 | 921600 | ||
247369248 | WbxOne | C | Feb. 19, 2024, 5:04 p.m. | OK | Node.js | TESTS | 4 | 218 | 15872000 | ||
247368469 | osato | C | Feb. 19, 2024, 5:01 p.m. | OK | Node.js | TESTS | 4 | 451 | 15360000 | ||
247403069 | crapcode | C | Feb. 19, 2024, 10:27 p.m. | OK | PHP | TESTS | 19 | 155 | 12595200 | ||
247425687 | luoingly | C | Feb. 20, 2024, 4:58 a.m. | OK | PHP | TESTS | 19 | 202 | 0 | ||
247368660 | OLOGY | C | Feb. 19, 2024, 5:02 p.m. | OK | PyPy 2 | TESTS | 4 | 280 | 2764800 | ||
247367842 | codsila | C | Feb. 19, 2024, 4:58 p.m. | OK | PyPy 3 | TESTS | 4 | 249 | 6348800 | ||
247367699 | _justSam_ | C | Feb. 19, 2024, 4:58 p.m. | OK | PyPy 3 | TESTS | 4 | 295 | 7987200 | ||
247415934 | duyanhnguyen | C | Feb. 20, 2024, 2:47 a.m. | OK | PyPy 3 | TESTS | 19 | 296 | 6246400 | ||
247389751 | zeroday1934 | C | Feb. 19, 2024, 7:33 p.m. | OK | PyPy 3 | TESTS | 4 | 342 | 5836800 | ||
247413500 | Khatarnak_Khandu | C | Feb. 20, 2024, 2:09 a.m. | OK | PyPy 3 | TESTS | 19 | 374 | 13926400 | ||
247382578 | strashila | C | Feb. 19, 2024, 6:28 p.m. | OK | PyPy 3-64 | TESTS | 4 | 93 | 5836800 | ||
247389546 | Trem0r | C | Feb. 19, 2024, 7:31 p.m. | OK | PyPy 3-64 | TESTS | 4 | 93 | 7372800 | ||
247392254 | kibr | C | Feb. 19, 2024, 7:59 p.m. | OK | PyPy 3-64 | TESTS | 4 | 93 | 7475200 | ||
247398942 | DHF_20 | C | Feb. 19, 2024, 9:17 p.m. | OK | PyPy 3-64 | TESTS | 19 | 93 | 8806400 | ||
247379055 | JN.Wang | C | Feb. 19, 2024, 6:01 p.m. | OK | PyPy 3-64 | TESTS | 4 | 93 | 9625600 | ||
247370400 | awj1052 | C | Feb. 19, 2024, 5:09 p.m. | OK | PyPy 3-64 | TESTS | 4 | 108 | 7372800 | ||
247413760 | mikeac | C | Feb. 20, 2024, 2:13 a.m. | OK | PyPy 3-64 | TESTS | 19 | 109 | 7065600 | ||
247378245 | sdt4936 | C | Feb. 19, 2024, 5:56 p.m. | OK | PyPy 3-64 | TESTS | 4 | 109 | 7577600 | ||
247427456 | singh.eureka | C | Feb. 20, 2024, 5:17 a.m. | OK | PyPy 3-64 | TESTS | 19 | 109 | 10137600 | ||
247419768 | Admiring_ShockleyZns | C | Feb. 20, 2024, 3:36 a.m. | OK | PyPy 3-64 | TESTS | 19 | 124 | 8908800 | ||
247368890 | OLOGY | C | Feb. 19, 2024, 5:03 p.m. | OK | Python 2 | TESTS | 4 | 78 | 409600 | ||
247379478 | OLOGY | C | Feb. 19, 2024, 6:04 p.m. | OK | Python 2 | TESTS | 4 | 108 | 409600 | ||
247374577 | Cowers | C | Feb. 19, 2024, 5:32 p.m. | OK | Python 3 | TESTS | 4 | 155 | 9932800 | ||
247407429 | trina731 | C | Feb. 20, 2024, 12:14 a.m. | OK | Python 3 | TESTS | 19 | 171 | 28160000 | ||
247407244 | trina731 | C | Feb. 20, 2024, 12:09 a.m. | OK | Python 3 | TESTS | 19 | 171 | 39116800 | ||
247389401 | jigarthummar | C | Feb. 19, 2024, 7:30 p.m. | OK | Python 3 | TESTS | 4 | 186 | 0 | ||
247402993 | japanese_lalacoppe1 | C | Feb. 19, 2024, 10:25 p.m. | OK | Python 3 | TESTS | 19 | 187 | 0 | ||
247402919 | japanese_lalacoppe1 | C | Feb. 19, 2024, 10:24 p.m. | OK | Python 3 | TESTS | 19 | 187 | 0 | ||
247371569 | tmith | C | Feb. 19, 2024, 5:15 p.m. | OK | Python 3 | TESTS | 4 | 202 | 8294400 | ||
247430989 | Risshun | C | Feb. 20, 2024, 5:57 a.m. | OK | Python 3 | TESTS | 19 | 218 | 8294400 | ||
247411178 | jigarthummar | C | Feb. 20, 2024, 1:28 a.m. | OK | Python 3 | TESTS | 19 | 218 | 8294400 | ||
247373317 | CaffeineCompiler | C | Feb. 19, 2024, 5:24 p.m. | OK | Python 3 | TESTS | 4 | 233 | 0 | ||
247373092 | utilforever | C | Feb. 19, 2024, 5:23 p.m. | OK | Rust 2021 | TESTS | 4 | 0 | 1638400 | ||
247419376 | tamuraup_wa | C | Feb. 20, 2024, 3:31 a.m. | OK | Rust 2021 | TESTS | 19 | 15 | 0 | ||
247416229 | tamuraup_wa | C | Feb. 20, 2024, 2:51 a.m. | OK | Rust 2021 | TESTS | 19 | 31 | 0 | ||
247415967 | tamuraup_wa | C | Feb. 20, 2024, 2:48 a.m. | OK | Rust 2021 | TESTS | 19 | 31 | 0 | ||
247381789 | DreadedHippy | C | Feb. 19, 2024, 6:22 p.m. | OK | Rust 2021 | TESTS | 4 | 93 | 2150400 | ||
247405698 | jhonyn | C | Feb. 19, 2024, 11:31 p.m. | OK | Rust 2021 | TESTS | 19 | 109 | 4198400 | ||
247378997 | snamy520 | C | Feb. 19, 2024, 6:01 p.m. | OK | Rust 2021 | TESTS | 4 | 124 | 0 |
Back to search problems