Codeforces Global Round 26

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
1984 Codeforces Global Round 26 FINISHED False 10800 13879499 June 9, 2024, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 18301 ) B Large Addition PROGRAMMING constructive algorithms implementation math

B'A digit is large if it is between 5 and 9 , inclusive. A positive integer is large if all of its digits are large. You are given an integer x . Can it be the sum of two large positive integers with the same number of digits? The first line contains a single integer t ( 1 <= q t <= q 10^4 ) -- the number of test cases. The only line of each test case contains a single integer x ( 10 <= q x <= q 10^{18} ). For each test case, output texttt{YES} if x satisfies the condition, and texttt{NO} otherwise. You can output texttt{YES} and texttt{NO} in any case (for example, strings texttt{yES} , texttt{yes} , and texttt{Yes} will be recognized as a positive response). In the first test case, we can have 658 + 679 = 1337 . In the second test case, it can be shown that no numbers of equal length and only consisting of large digits can add to 200 . In the third test case, we can have 696 ,969 + 696 ,969 = 1 ,393 ,938 . In the fourth test case, we can have 777 + 657 = 1434 . '...

Tutorials

Codeforces Global Round 26 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
265007315 ShengaTime B June 10, 2024, 6:01 a.m. OK C++14 (GCC 6-32) TESTS 44 46 4198400
264993552 thaibeo123 B June 10, 2024, 3:03 a.m. OK C++14 (GCC 6-32) TESTS 44 46 4198400
264999628 dragonc0der B June 10, 2024, 4:33 a.m. OK C++14 (GCC 6-32) TESTS 44 61 0
264994935 MartinKclark B June 10, 2024, 3:25 a.m. OK C++14 (GCC 6-32) TESTS 44 61 4198400
264984558 tazin. B June 9, 2024, 11:41 p.m. OK C++14 (GCC 6-32) TESTS 44 61 4198400
265006269 Icyecho B June 10, 2024, 5:50 a.m. OK C++14 (GCC 6-32) TESTS 44 61 4198400
265002084 xzzduang B June 10, 2024, 5:04 a.m. OK C++14 (GCC 6-32) TESTS 44 61 4198400
264994040 kamisato123 B June 10, 2024, 3:11 a.m. OK C++14 (GCC 6-32) TESTS 44 61 8192000
264988882 jyttoby B June 10, 2024, 1:39 a.m. OK C++14 (GCC 6-32) TESTS 44 62 0
264967556 sashshaikh12 B June 9, 2024, 6:49 p.m. OK C++14 (GCC 6-32) TESTS 44 62 0
264970209 ossamakhiar B June 9, 2024, 7:15 p.m. OK C++17 (GCC 7-32) TESTS 44 46 0
265002353 bb_16 B June 10, 2024, 5:07 a.m. OK C++17 (GCC 7-32) TESTS 44 46 0
264998334 CCSU_YZT B June 10, 2024, 4:16 a.m. OK C++17 (GCC 7-32) TESTS 44 46 0
264994872 ClinZ B June 10, 2024, 3:24 a.m. OK C++17 (GCC 7-32) TESTS 44 46 0
264993838 Tomatos03 B June 10, 2024, 3:07 a.m. OK C++17 (GCC 7-32) TESTS 44 46 0
264992620 karan_21 B June 10, 2024, 2:49 a.m. OK C++17 (GCC 7-32) TESTS 44 46 0
264995341 yravidheeraj12 B June 10, 2024, 3:31 a.m. OK C++17 (GCC 7-32) TESTS 44 46 102400
265006083 serpentx B June 10, 2024, 5:48 a.m. OK C++17 (GCC 7-32) TESTS 44 46 4198400
265007461 ShakhawatShovo B June 10, 2024, 6:02 a.m. OK C++17 (GCC 7-32) TESTS 44 46 4198400
265005680 ViratKohliGoat B June 10, 2024, 5:45 a.m. OK C++17 (GCC 7-32) TESTS 44 46 4198400
265007408 nakuljpatel B June 10, 2024, 6:02 a.m. OK C++20 (GCC 13-64) TESTS 44 46 0
264968235 devecent B June 9, 2024, 6:55 p.m. OK C++20 (GCC 13-64) TESTS 44 46 0
264972102 ghanta_ B June 9, 2024, 7:39 p.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264987531 AdnanKhan-ak47 B June 10, 2024, 1:07 a.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264972895 i_liek_cheezits B June 9, 2024, 7:49 p.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
265002512 abdulla.bin.ah B June 10, 2024, 5:09 a.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264998739 destryptor B June 10, 2024, 4:21 a.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264997746 Jelly.bean B June 10, 2024, 4:08 a.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264996630 yanke B June 10, 2024, 3:51 a.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264995930 029 B June 10, 2024, 3:40 a.m. OK C++20 (GCC 13-64) TESTS 44 46 102400
264982424 bluemegane B June 9, 2024, 10:33 p.m. OK C# 8 TESTS 44 124 1536000
264955267 higher123 B June 9, 2024, 5:10 p.m. OK GNU C11 TESTS 44 108 102400
264966118 anirudh2005 B June 9, 2024, 6:37 p.m. OK GNU C11 TESTS 44 109 102400
264970346 1936557 B June 9, 2024, 7:17 p.m. OK Haskell TESTS 44 92 409600
264977141 susvant B June 9, 2024, 8:48 p.m. OK Java 21 TESTS 44 249 512000
264972495 apoorveesinha B June 9, 2024, 7:44 p.m. OK Java 21 TESTS 44 249 512000
264997104 thisisnitintiwari B June 10, 2024, 3:58 a.m. OK Java 21 TESTS 44 264 614400
265005556 frey4 B June 10, 2024, 5:43 a.m. OK Java 21 TESTS 44 265 921600
264969911 himneesh9 B June 9, 2024, 7:11 p.m. OK Java 21 TESTS 44 296 819200
264995289 kyokun B June 10, 2024, 3:30 a.m. OK Java 21 TESTS 44 296 1126400
264955323 ChrizzyB47 B June 9, 2024, 5:10 p.m. OK Java 21 TESTS 44 296 1433600
264966201 Flick__ B June 9, 2024, 6:38 p.m. OK Java 21 TESTS 44 311 921600
264998618 divyalaldinani B June 10, 2024, 4:19 a.m. OK Java 21 TESTS 44 311 1945600
264977274 at03 B June 9, 2024, 8:50 p.m. OK Java 21 TESTS 44 312 921600
264972209 SkadiTheCorruptHeart B June 9, 2024, 7:40 p.m. OK Java 8 TESTS 44 171 0
264971632 Hemant_malav B June 9, 2024, 7:33 p.m. OK Java 8 TESTS 44 171 8704000
264974383 pranavpatil9876 B June 9, 2024, 8:08 p.m. OK Java 8 TESTS 44 203 0
264987539 fanhaoxuan B June 10, 2024, 1:07 a.m. OK Java 8 TESTS 44 233 0
264975518 Om77 B June 9, 2024, 8:24 p.m. OK Java 8 TESTS 44 233 0
265004238 kumar2810mk B June 10, 2024, 5:28 a.m. OK Java 8 TESTS 44 234 0
264987485 desaizeeshan22 B June 10, 2024, 1:06 a.m. OK Java 8 TESTS 44 234 0
264958460 naixinganhuoyyp B June 9, 2024, 5:21 p.m. OK Java 8 TESTS 44 234 0
264999084 om172 B June 10, 2024, 4:26 a.m. OK Java 8 TESTS 44 264 0
264957564 TLE_Pussy B June 9, 2024, 5:18 p.m. OK Java 8 TESTS 44 281 0
265005866 y4n9b0 B June 10, 2024, 5:46 a.m. OK Kotlin 1.9 TESTS 44 202 0
264999977 y4n9b0 B June 10, 2024, 4:38 a.m. OK Kotlin 1.9 TESTS 44 218 1843200
265007320 y4n9b0 B June 10, 2024, 6:01 a.m. OK Kotlin 1.9 TESTS 44 249 1740800
264956481 hbot07 B June 9, 2024, 5:14 p.m. OK PyPy 3 TESTS 44 171 9216000
264992082 Samaritan02 B June 10, 2024, 2:39 a.m. OK PyPy 3 TESTS 44 202 6758400
264977147 debashish_1 B June 9, 2024, 8:48 p.m. OK PyPy 3 TESTS 44 233 6656000
264959806 logankeede B June 9, 2024, 5:26 p.m. OK PyPy 3 TESTS 44 249 7270400
264966634 sai-17 B June 9, 2024, 6:41 p.m. OK PyPy 3 TESTS 44 264 6963200
264969239 FliccEatsPizza B June 9, 2024, 7:04 p.m. OK PyPy 3 TESTS 44 265 9011200
264986542 nealzane B June 10, 2024, 12:42 a.m. OK PyPy 3 TESTS 44 296 8806400
265002898 jhdonghj112 B June 10, 2024, 5:14 a.m. OK PyPy 3 TESTS 44 312 9830400
264955406 itachi_157 B June 9, 2024, 5:10 p.m. OK PyPy 3 TESTS 44 406 7065600
265000793 qchaos B June 10, 2024, 4:48 a.m. OK PyPy 3-64 TESTS 44 92 3174400
265000293 SharanyaRMannan B June 10, 2024, 4:42 a.m. OK PyPy 3-64 TESTS 44 109 3686400
264983836 katonyonko B June 9, 2024, 11:18 p.m. OK PyPy 3-64 TESTS 44 124 3993600
264973302 hm32005 B June 9, 2024, 7:54 p.m. OK PyPy 3-64 TESTS 44 124 4608000
265000671 uddaancode_9 B June 10, 2024, 4:47 a.m. OK PyPy 3-64 TESTS 44 124 4710400
264978648 RajdeepA B June 9, 2024, 9:12 p.m. OK PyPy 3-64 TESTS 44 124 5017600
264977451 _Ryu__ B June 9, 2024, 8:53 p.m. OK PyPy 3-64 TESTS 44 140 4300800
264983067 MistaFlash B June 9, 2024, 10:52 p.m. OK PyPy 3-64 TESTS 44 140 4505600
265006958 aviral311 B June 10, 2024, 5:57 a.m. OK PyPy 3-64 TESTS 44 140 5120000
264997674 ekambareswar B June 10, 2024, 4:07 a.m. OK PyPy 3-64 TESTS 44 140 5120000
265001050 biltharesatyendra B June 10, 2024, 4:51 a.m. OK Python 2 TESTS 44 171 1536000
264969663 Elrashedy B June 9, 2024, 7:08 p.m. OK Python 3 TESTS 44 77 614400
264978678 kaushik_yadav B June 9, 2024, 9:13 p.m. OK Python 3 TESTS 44 92 1024000
264980959 NotQuiteMyTempo B June 9, 2024, 9:57 p.m. OK Python 3 TESTS 44 109 0
264967632 wildwarrior_44 B June 9, 2024, 6:50 p.m. OK Python 3 TESTS 44 109 0
264984057 CodeMaxing B June 9, 2024, 11:25 p.m. OK Python 3 TESTS 44 109 1024000
264959643 Rishikadhote21 B June 9, 2024, 5:25 p.m. OK Python 3 TESTS 44 109 1024000
264954323 G.G. B June 9, 2024, 5:06 p.m. OK Python 3 TESTS 44 109 1024000
265001201 quickbot-17 B June 10, 2024, 4:53 a.m. OK Python 3 TESTS 44 124 0
264998110 ___a_s_1_2___ B June 10, 2024, 4:13 a.m. OK Python 3 TESTS 44 124 1024000
264972913 MehraSaurav B June 9, 2024, 7:49 p.m. OK Python 3 TESTS 44 124 1024000
264974362 0x81 B June 9, 2024, 8:08 p.m. OK Ruby 3 TESTS 44 390 1536000
264988098 fieubat2x B June 10, 2024, 1:22 a.m. OK Rust 2021 TESTS 44 62 4096000
264980028 DeanMMenezes B June 9, 2024, 9:37 p.m. OK Rust 2021 TESTS 44 92 4096000

remove filters

Back to search problems