Codeforces Round 849 (Div. 4)

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
1791 Codeforces Round 849 (Div. 4) FINISHED False 8700 61745062 Feb. 3, 2023, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 12947 ) F Range Update Point Query PROGRAMMING binary search brute force data structures

B'Given an array a_1, a_2, ... , a_n , you need to handle a total of q updates and queries of two types: The first line of the input contains an integer t ( 1 <= q t <= q 1000 ) -- the number of testcases. The first line of each test case contains two integers n and q ( 1 <= n, q <= 2 cdot 10^5 ) -- the size of the array and the number of queries, respectively. The second line of each test case contains n integers a_1, a_2, ... , a_n ( 1 <= a_i <= 10^9 ). The next q lines of each test case are of two forms: There is at least one query of the second type. The sum of n over all test cases does not exceed 2 cdot 10^5 . The sum of q over all test cases does not exceed 2 cdot 10^5 . For each test case, output the answers of queries of the second type, in the order they are given. In the first test case, the following process occurs: '...

Tutorials

112282

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
192062457 AutumnMist F Feb. 3, 2023, 7:24 p.m. OK C# 10 TESTS 16 280 47923200
192097163 adsadsdsad F Feb. 4, 2023, 4:46 a.m. OK C# 10 TESTS 16 483 88985600
192084020 acvv.shiyi F Feb. 4, 2023, 1:03 a.m. OK C# 10 TESTS 16 483 88985600
192064153 joaoandreotti F Feb. 3, 2023, 7:38 p.m. OK C# 10 TESTS 16 888 50995200
192061911 kachugh F Feb. 3, 2023, 7:19 p.m. OK C# 10 TESTS 16 1465 42905600
192103043 crazy_lee F Feb. 4, 2023, 5:47 a.m. OK GNU C++14 TESTS 16 171 5017600
192088173 liujunyi123 F Feb. 4, 2023, 2:26 a.m. OK GNU C++14 TESTS 16 171 5120000
192086621 justD1o F Feb. 4, 2023, 1:59 a.m. OK GNU C++14 TESTS 16 186 2662400
192050038 Cabbage03 F Feb. 3, 2023, 5:53 p.m. OK GNU C++14 TESTS 16 187 2662400
192094880 Guichena F Feb. 4, 2023, 4:15 a.m. OK GNU C++14 TESTS 16 187 8499200
192084213 Edward21 F Feb. 4, 2023, 1:08 a.m. OK GNU C++14 TESTS 16 187 8499200
192070758 M4verick F Feb. 3, 2023, 8:48 p.m. OK GNU C++14 TESTS 16 187 8499200
192102340 Njaso F Feb. 4, 2023, 5:40 a.m. OK GNU C++14 TESTS 16 202 2662400
192084159 tangjiaqi2024 F Feb. 4, 2023, 1:06 a.m. OK GNU C++14 TESTS 16 202 5836800
192089796 adityaprak01 F Feb. 4, 2023, 2:51 a.m. OK GNU C++14 TESTS 16 202 8499200
192086644 Firefrog418 F Feb. 4, 2023, 1:59 a.m. OK GNU C++17 TESTS 16 171 2662400
192103226 Sindy F Feb. 4, 2023, 5:48 a.m. OK GNU C++17 TESTS 16 171 3481600
192073519 SmoothCoDe F Feb. 3, 2023, 9:23 p.m. OK GNU C++17 TESTS 16 171 3481600
192072905 person_exe F Feb. 3, 2023, 9:15 p.m. OK GNU C++17 TESTS 16 171 7782400
192099444 Solashiro F Feb. 4, 2023, 5:13 a.m. OK GNU C++17 TESTS 16 186 2662400
192059454 Weiqt F Feb. 3, 2023, 6:57 p.m. OK GNU C++17 TESTS 16 186 2662400
192104486 pranay7 F Feb. 4, 2023, 5:59 a.m. OK GNU C++17 TESTS 16 186 3481600
192101596 MONISM F Feb. 4, 2023, 5:33 a.m. OK GNU C++17 TESTS 16 186 3481600
192101470 MONISM F Feb. 4, 2023, 5:32 a.m. OK GNU C++17 TESTS 16 186 3481600
192100660 yogendrabaghel F Feb. 4, 2023, 5:24 a.m. OK GNU C++17 TESTS 16 186 3481600
192081330 Hytidel F Feb. 3, 2023, 11:54 p.m. OK GNU C++17 (64) TESTS 16 124 2867200
192089513 EduardoBrito F Feb. 4, 2023, 2:47 a.m. OK GNU C++17 (64) TESTS 16 124 4403200
192079472 serialcomder F Feb. 3, 2023, 11:07 p.m. OK GNU C++17 (64) TESTS 16 124 4403200
192079448 fkndonttrespass F Feb. 3, 2023, 11:07 p.m. OK GNU C++17 (64) TESTS 16 124 4403200
192079623 fkndonttrespass F Feb. 3, 2023, 11:10 p.m. OK GNU C++17 (64) TESTS 16 139 4403200
192080243 jdurie F Feb. 3, 2023, 11:24 p.m. OK GNU C++17 (64) TESTS 16 139 6041600
192103968 OTTFF F Feb. 4, 2023, 5:55 a.m. OK GNU C++17 (64) TESTS 16 139 6860800
192053423 enslaved F Feb. 3, 2023, 6:14 p.m. OK GNU C++17 (64) TESTS 16 140 11673600
192077290 Maram F Feb. 3, 2023, 10:23 p.m. OK GNU C++17 (64) TESTS 16 140 12902400
192097293 satyam_tyagi F Feb. 4, 2023, 4:48 a.m. OK GNU C++17 (64) TESTS 16 155 14336000
192103562 Yarn F Feb. 4, 2023, 5:51 a.m. OK GNU C++20 (64) TESTS 16 93 2867200
192099345 Silencer76 F Feb. 4, 2023, 5:11 a.m. OK GNU C++20 (64) TESTS 16 93 2867200
192092982 ONE_Sensei F Feb. 4, 2023, 3:44 a.m. OK GNU C++20 (64) TESTS 16 93 2867200
192092734 S4MI F Feb. 4, 2023, 3:40 a.m. OK GNU C++20 (64) TESTS 16 93 2867200
192088313 EDCTY F Feb. 4, 2023, 2:28 a.m. OK GNU C++20 (64) TESTS 16 93 2867200
192083609 Satinii F Feb. 4, 2023, 12:54 a.m. OK GNU C++20 (64) TESTS 16 93 2867200
192054045 sanjay77 F Feb. 3, 2023, 6:18 p.m. OK GNU C++20 (64) TESTS 16 93 3072000
192097954 Kakashi_ F Feb. 4, 2023, 4:56 a.m. OK GNU C++20 (64) TESTS 16 93 3686400
192091796 qing_feng F Feb. 4, 2023, 3:24 a.m. OK GNU C++20 (64) TESTS 16 93 3686400
192087793 chenef F Feb. 4, 2023, 2:20 a.m. OK GNU C++20 (64) TESTS 16 93 3686400
192080059 meinego F Feb. 3, 2023, 11:19 p.m. OK Go TESTS 16 327 30208000
192056780 meinego F Feb. 3, 2023, 6:37 p.m. OK Go TESTS 16 358 33382400
192091719 july_tang F Feb. 4, 2023, 3:22 a.m. OK Go TESTS 16 670 24780800
192057204 meinego F Feb. 3, 2023, 6:40 p.m. OK Go TESTS 16 1106 72601600
192097436 Ganesha_ F Feb. 4, 2023, 4:50 a.m. OK Java 11 TESTS 16 514 59084800
192067008 Vegeks F Feb. 3, 2023, 8:06 p.m. OK Java 11 TESTS 16 561 43417600
192075647 Hawater F Feb. 3, 2023, 9:54 p.m. OK Java 11 TESTS 16 592 54374400
192049387 pakkapapad F Feb. 3, 2023, 5:49 p.m. OK Java 11 TESTS 16 670 39628800
192073512 testing_arnav F Feb. 3, 2023, 9:23 p.m. OK Java 11 TESTS 16 935 33382400
192079315 pranp_24 F Feb. 3, 2023, 11:03 p.m. OK Java 11 TESTS 16 1638 35225600
192104601 im_amanaashish F Feb. 4, 2023, 6 a.m. OK Java 11 TESTS 16 1825 48435200
192104052 LucunJi F Feb. 4, 2023, 5:56 a.m. OK Java 17 TESTS 16 280 46489600
192058992 eavsievich F Feb. 3, 2023, 6:54 p.m. OK Java 17 TESTS 16 420 42803200
192049493 Utsav82 F Feb. 3, 2023, 5:49 p.m. OK Java 17 TESTS 16 436 56012800
192100033 sid234890 F Feb. 4, 2023, 5:18 a.m. OK Java 17 TESTS 16 451 57548800
192074017 sarvesh_bawari F Feb. 3, 2023, 9:30 p.m. OK Java 17 TESTS 16 482 57651200
192071368 Mamimi F Feb. 3, 2023, 8:55 p.m. OK Java 17 TESTS 16 561 53248000
192102735 burning_summer F Feb. 4, 2023, 5:44 a.m. OK Java 17 TESTS 16 623 60723200
192096667 sauravmandal F Feb. 4, 2023, 4:40 a.m. OK Java 17 TESTS 16 639 58572800
192053926 Eslam_Ahmed F Feb. 3, 2023, 6:17 p.m. OK Java 17 TESTS 16 654 66252800
192101790 burning_summer F Feb. 4, 2023, 5:35 a.m. OK Java 17 TESTS 16 748 76595200
192056592 Zicode F Feb. 3, 2023, 6:36 p.m. OK Java 8 TESTS 16 420 38400000
192099699 pribic F Feb. 4, 2023, 5:15 a.m. OK Java 8 TESTS 16 436 35635200
192050510 feixiao F Feb. 3, 2023, 5:55 p.m. OK Java 8 TESTS 16 482 56115200
192065483 Mouhssine F Feb. 3, 2023, 7:51 p.m. OK Java 8 TESTS 16 483 40038400
192059904 IanISam F Feb. 3, 2023, 7:01 p.m. OK Java 8 TESTS 16 607 64921600
192099585 pribic F Feb. 4, 2023, 5:14 a.m. OK Java 8 TESTS 16 1668 35635200
192089033 linxiaotian F Feb. 4, 2023, 2:39 a.m. OK Kotlin 1.6 TESTS 16 514 53555200
192075340 reosfire F Feb. 3, 2023, 9:50 p.m. OK Kotlin 1.6 TESTS 16 1965 48025600
192074954 DonSilvio F Feb. 3, 2023, 9:44 p.m. OK MS C++ 2017 TESTS 16 1200 8294400
192092747 Ahmedmadbouly186 F Feb. 4, 2023, 3:40 a.m. OK MS C++ 2017 TESTS 16 1372 30105600
192051598 yuki_keshiki F Feb. 3, 2023, 6:02 p.m. OK PyPy 3 TESTS 16 686 37171200
192052081 yuki_keshiki F Feb. 3, 2023, 6:05 p.m. OK PyPy 3 TESTS 16 764 36044800
192061486 Mohamed_Hamed F Feb. 3, 2023, 7:15 p.m. OK PyPy 3 TESTS 16 1013 39628800
192103017 KeiTsukishima F Feb. 4, 2023, 5:46 a.m. OK PyPy 3 TESTS 16 1794 69427200
192073568 mathiaswk F Feb. 3, 2023, 9:23 p.m. OK PyPy 3-64 TESTS 16 358 59084800
192076754 kavorka F Feb. 3, 2023, 10:13 p.m. OK PyPy 3-64 TESTS 16 374 71782400
192085597 RobinFromTheHood F Feb. 4, 2023, 1:39 a.m. OK PyPy 3-64 TESTS 16 421 62259200
192092475 sk003 F Feb. 4, 2023, 3:35 a.m. OK PyPy 3-64 TESTS 16 436 64614400
192066829 Omar.Gawdat F Feb. 3, 2023, 8:04 p.m. OK PyPy 3-64 TESTS 16 452 57548800
192103727 wwwwzhh F Feb. 4, 2023, 5:53 a.m. OK PyPy 3-64 TESTS 16 452 199884800
192080319 RobinFromTheHood F Feb. 3, 2023, 11:26 p.m. OK PyPy 3-64 TESTS 16 482 62361600
192073305 yusinv F Feb. 3, 2023, 9:20 p.m. OK PyPy 3-64 TESTS 16 483 67276800
192101940 eugalt F Feb. 4, 2023, 5:36 a.m. OK PyPy 3-64 TESTS 16 545 65536000
192061528 Mohamed_Hamed F Feb. 3, 2023, 7:15 p.m. OK PyPy 3-64 TESTS 16 561 54067200
192091906 utilforever F Feb. 4, 2023, 3:25 a.m. OK Rust 2021 TESTS 16 155 10342400
192057294 franv F Feb. 3, 2023, 6:41 p.m. OK Rust 2021 TESTS 16 1590 12185600

remove filters

Back to search problems