2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams)

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
1765 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) FINISHED False 18000 67721063 Nov. 27, 2022, 10:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 9204 ) B Broken Keyboard PROGRAMMING greedy 800

B"Recently, Mishka started noticing that his keyboard malfunctions -- maybe it's because he was playing rhythm games too much. Empirically, Mishka has found out that every other time he presses a key, it is registered as if the key was pressed twice. For example, if Mishka types text, the first time he presses a key, exactly one letter is printed; the second time he presses a key, two same letters are printed; the third time he presses a key, one letter is printed; the fourth time he presses a key, two same letters are printed, and so on. Note that the number of times a key was pressed is counted for the whole keyboard, not for each key separately. For example, if Mishka tries to type the word osu, it will be printed on the screen as ossu. You are given a word consisting of n lowercase Latin letters. You have to determine if it can be printed on Mishka's keyboard or not. You may assume that Mishka cannot delete letters from the word, and every time he presses a key, the new letter (or letters) is appended to the end of the word. The first line of the input contains one integer t ( 1 <= t <= 100 ) -- the number of test cases. The first line of the test case contains one integer n ( 1 <= n <= 100 ) -- the length of the word. The second line of the test case contains a string s consisting of n lowercase Latin letters -- the word that should be checked. For each test case, print YES if the word s can be printed on Mishka's keyboard, and NO otherwise. In the first test case, Mishka can type the word as follows: press o (one letter o appears at the end of the word), then presses s (two letters s appear at the end of the word), and, finally, press u (one letter appears at the end of the word, making the resulting word ossu). In the second test case, Mishka can try typing the word as follows: press a (one letter a appears at the end of the word). But if he tries to press a one more time, two letters a will appear a"...

Tutorials

109642

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
182937830 juliael1 B Nov. 27, 2022, 5:46 p.m. OK C# 10 TESTS 11 61 0 800
182966375 ygngzln B Nov. 28, 2022, 4:10 a.m. OK Clang++20 Diagnostics TESTS 11 31 0 800
182766591 ruban B Nov. 27, 2022, 10:46 a.m. OK FPC TESTS 11 15 204800 800
182921637 abdullah_maruf B Nov. 27, 2022, 3:09 p.m. OK GNU C11 TESTS 11 15 0 800
182923903 BSMRSTU_Blackhole B Nov. 27, 2022, 3:29 p.m. OK GNU C11 TESTS 11 15 0 800
182929564 saaad B Nov. 27, 2022, 4:22 p.m. OK GNU C11 TESTS 11 15 0 800
182963989 ptyzzzy B Nov. 28, 2022, 3:15 a.m. OK GNU C11 TESTS 11 15 0 800
182772352 iffatul_anon B Nov. 27, 2022, 11:25 a.m. OK GNU C11 TESTS 11 15 0 800
182773804 Kevin_attendant B Nov. 27, 2022, 11:36 a.m. OK GNU C11 TESTS 11 15 0 800
182901811 Jahidul_CSE B Nov. 27, 2022, 12:31 p.m. OK GNU C11 TESTS 11 15 0 800
182899090 SAFIN07 B Nov. 27, 2022, 12:12 p.m. OK GNU C11 TESTS 11 15 0 800
182770082 Ric_ick B Nov. 27, 2022, 11:10 a.m. OK GNU C11 TESTS 11 15 0 800
182921617 axeyyjtvnsnv B Nov. 27, 2022, 3:08 p.m. OK GNU C11 TESTS 11 15 0 800
182917160 zhengrunzhe B Nov. 27, 2022, 2:29 p.m. OK GNU C++14 TESTS 11 0 0 800
182911910 cozyvelocirapto B Nov. 27, 2022, 1:47 p.m. OK GNU C++14 TESTS 11 0 0 800
182902610 captain24 B Nov. 27, 2022, 12:37 p.m. OK GNU C++14 TESTS 11 0 0 800
182872884 honey B Nov. 27, 2022, 12:03 p.m. OK GNU C++14 TESTS 11 0 0 800
182771602 shdut0901 B Nov. 27, 2022, 11:20 a.m. OK GNU C++14 TESTS 11 0 0 800
182968913 ILovveyyou B Nov. 28, 2022, 5:04 a.m. OK GNU C++14 TESTS 11 0 0 800
182966884 Mustafa1605 B Nov. 28, 2022, 4:19 a.m. OK GNU C++14 TESTS 11 0 0 800
182959910 Cu_OH_2 B Nov. 28, 2022, 1:25 a.m. OK GNU C++14 TESTS 11 0 0 800
182954379 mahmoudkhalid112 B Nov. 27, 2022, 10:22 p.m. OK GNU C++14 TESTS 11 0 0 800
182930962 itzzRaghav B Nov. 27, 2022, 4:36 p.m. OK GNU C++14 TESTS 11 0 0 800
182945822 _.anonymous._ B Nov. 27, 2022, 7:45 p.m. OK GNU C++17 TESTS 11 0 0 800
182935056 Ramuba B Nov. 27, 2022, 5:18 p.m. OK GNU C++17 TESTS 11 0 0 800
182964411 chunzhifeng B Nov. 28, 2022, 3:26 a.m. OK GNU C++17 TESTS 11 0 0 800
182968601 DocFlex B Nov. 28, 2022, 4:57 a.m. OK GNU C++17 TESTS 11 0 0 800
182969452 jerryjon.333 B Nov. 28, 2022, 5:15 a.m. OK GNU C++17 TESTS 11 0 0 800
182944874 cleanser B Nov. 27, 2022, 7 p.m. OK GNU C++17 TESTS 11 0 0 800
182935326 bhandarisourabhrahul B Nov. 27, 2022, 5:20 p.m. OK GNU C++17 TESTS 11 0 0 800
182930925 Prattoy29 B Nov. 27, 2022, 4:35 p.m. OK GNU C++17 TESTS 11 0 0 800
182930607 Prattoy B Nov. 27, 2022, 4:32 p.m. OK GNU C++17 TESTS 11 0 0 800
182924709 goodDaytoDie B Nov. 27, 2022, 3:36 p.m. OK GNU C++17 TESTS 11 0 0 800
182965351 N4bo0 B Nov. 28, 2022, 3:49 a.m. OK GNU C++17 (64) TESTS 11 0 0 800
182971527 Robin B Nov. 28, 2022, 5:55 a.m. OK GNU C++17 (64) TESTS 11 0 0 800
182964415 wqy2022 B Nov. 28, 2022, 3:26 a.m. OK GNU C++17 (64) TESTS 11 0 0 800
182949536 Karuna B Nov. 27, 2022, 8:47 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182945985 Narutobaco B Nov. 27, 2022, 7:48 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182923563 rounak_58 B Nov. 27, 2022, 3:26 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182916087 Z0ZZ omarabdo2003 B Nov. 27, 2022, 2:21 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182907085 jtf_shine B Nov. 27, 2022, 1:10 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182904980 fytftyf B Nov. 27, 2022, 12:54 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182901922 mahbubhasanmht B Nov. 27, 2022, 12:32 p.m. OK GNU C++17 (64) TESTS 11 0 0 800
182959171 Sma10 B Nov. 28, 2022, 12:58 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182959684 SF-Manman B Nov. 28, 2022, 1:15 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182960077 36champ B Nov. 28, 2022, 1:31 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182962903 khanh1705 B Nov. 28, 2022, 2:46 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182962950 fokesll B Nov. 28, 2022, 2:47 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182963090 milind0110 B Nov. 28, 2022, 2:50 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182965543 Mestu Matrix10 RakibJoy B Nov. 28, 2022, 3:53 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182966064 OnlyAloner B Nov. 28, 2022, 4:04 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182967439 A_H_Radim B Nov. 28, 2022, 4:31 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182970268 Piyushh_ssingh B Nov. 28, 2022, 5:31 a.m. OK GNU C++20 (64) TESTS 11 0 0 800
182766192 shiro B Nov. 27, 2022, 10:43 a.m. OK Go TESTS 11 15 102400 800
182912445 zhupshan B Nov. 27, 2022, 1:51 p.m. OK Haskell TESTS 11 15 0 800
182769124 sduMamutbekov B Nov. 27, 2022, 11:03 a.m. OK Java 11 TESTS 11 155 0 800
182889840 insert_cool_handle B Nov. 27, 2022, 12:10 p.m. OK Java 11 TESTS 11 156 0 800
182911138 La_Pagla B Nov. 27, 2022, 1:41 p.m. OK Java 11 TESTS 11 170 0 800
182944647 Yousef_Badr B Nov. 27, 2022, 6:57 p.m. OK Java 11 TESTS 11 171 0 800
182923685 Never_Give_Up_Mani B Nov. 27, 2022, 3:27 p.m. OK Java 11 TESTS 11 171 0 800
182773033 dzhi B Nov. 27, 2022, 11:30 a.m. OK Java 11 TESTS 11 171 0 800
182768957 SmartCode B Nov. 27, 2022, 11:02 a.m. OK Java 11 TESTS 11 202 0 800
182765922 Serg_ tortolavivo23 B Nov. 27, 2022, 10:42 a.m. OK Java 11 TESTS 11 202 0 800
182904241 viper01 B Nov. 27, 2022, 12:49 p.m. OK Java 11 TESTS 11 217 0 800
182766358 Sudin7362 TfueBiley merlin_ B Nov. 27, 2022, 10:44 a.m. OK Java 17 TESTS 11 155 614400 800
182935459 ghost24601 B Nov. 27, 2022, 5:22 p.m. OK Java 17 TESTS 11 171 512000 800
182841283 IceWolf898 B Nov. 27, 2022, 11:56 a.m. OK Java 17 TESTS 11 171 614400 800
182908719 visitpage B Nov. 27, 2022, 1:23 p.m. OK Java 17 TESTS 11 186 614400 800
182774704 knightL B Nov. 27, 2022, 11:42 a.m. OK Java 17 TESTS 11 187 716800 800
182771479 Aryan_codefc Surya0123 manasrai1234567 B Nov. 27, 2022, 11:19 a.m. OK Java 17 TESTS 11 202 614400 800
182767449 known_person B Nov. 27, 2022, 10:51 a.m. OK Java 17 TESTS 11 217 819200 800
182946388 _abhi_08 B Nov. 27, 2022, 7:55 p.m. OK Java 17 TESTS 11 217 921600 800
182930538 Eslam_Ahmed B Nov. 27, 2022, 4:32 p.m. OK Java 17 TESTS 11 217 1024000 800
182909685 HusanRich B Nov. 27, 2022, 1:30 p.m. OK Java 17 TESTS 11 218 1126400 800
182768568 arwa_ashraf Bahaalization Y0ussef.Gemy B Nov. 27, 2022, 10:59 a.m. OK Java 8 TESTS 11 77 0 800
182948062 Koka B Nov. 27, 2022, 8:22 p.m. OK Java 8 TESTS 11 93 0 800
182929349 shynkaaaa B Nov. 27, 2022, 4:20 p.m. OK Java 8 TESTS 11 93 0 800
182919086 Mohamed_A7med B Nov. 27, 2022, 2:46 p.m. OK Java 8 TESTS 11 93 0 800
182915084 Rayhan_07 B Nov. 27, 2022, 2:12 p.m. OK Java 8 TESTS 11 93 0 800
182901861 Mohamed308 B Nov. 27, 2022, 12:32 p.m. OK Java 8 TESTS 11 93 0 800
182767183 Imran435 B Nov. 27, 2022, 10:50 a.m. OK Java 8 TESTS 11 93 0 800
182906803 ankit_0207 B Nov. 27, 2022, 1:08 p.m. OK Java 8 TESTS 11 108 0 800
182901589 Aphroditus vaibhav_1710 B Nov. 27, 2022, 12:30 p.m. OK Java 8 TESTS 11 109 0 800
182765806 1091857051 B Nov. 27, 2022, 10:41 a.m. OK Java 8 TESTS 11 109 0 800
182910185 Max2000_ru Vaccum11 B Nov. 27, 2022, 1:34 p.m. OK JavaScript TESTS 11 30 0 800
182765844 arvindf232 B Nov. 27, 2022, 10:41 a.m. OK Kotlin 1.6 TESTS 11 171 0 800
182766798 gelbelachente B Nov. 27, 2022, 10:47 a.m. OK Kotlin 1.7 TESTS 11 264 0 800
182936481 Devil_from_hell B Nov. 27, 2022, 5:32 p.m. OK MS C++ 2017 TESTS 11 0 0 800
182769465 hua_yi_jiu B Nov. 27, 2022, 11:05 a.m. OK MS C++ 2017 TESTS 11 0 0 800
182957814 Autlomu B Nov. 28, 2022, 12:09 a.m. OK MS C++ 2017 TESTS 11 15 0 800
182916850 lahar28 B Nov. 27, 2022, 2:27 p.m. OK MS C++ 2017 TESTS 11 15 0 800
182906529 qiuxioahang B Nov. 27, 2022, 1:05 p.m. OK MS C++ 2017 TESTS 11 15 0 800
182905182 Abdullraouf B Nov. 27, 2022, 12:56 p.m. OK MS C++ 2017 TESTS 11 15 0 800
182899122 KKastaneda B Nov. 27, 2022, 12:13 p.m. OK MS C++ 2017 TESTS 11 15 0 800
182782156 fiwka B Nov. 27, 2022, 11:45 a.m. OK MS C++ 2017 TESTS 11 15 0 800
182774820 JRose1121 B Nov. 27, 2022, 11:43 a.m. OK MS C++ 2017 TESTS 11 15 0 800
182767992 aadrito B Nov. 27, 2022, 10:55 a.m. OK MS C++ 2017 TESTS 11 15 0 800
182766120 IceKnight1093 B Nov. 27, 2022, 10:43 a.m. OK PyPy 3 TESTS 11 77 1331200 800
182768704 racernigga B Nov. 27, 2022, 11 a.m. OK PyPy 3 TESTS 11 77 1433600 800
182771495 NicholasTing B Nov. 27, 2022, 11:19 a.m. OK PyPy 3 TESTS 11 92 1331200 800
182767700 berukhov B Nov. 27, 2022, 10:53 a.m. OK PyPy 3 TESTS 11 93 1331200 800
182766097 AKSLEGION781126 B Nov. 27, 2022, 10:43 a.m. OK PyPy 3 TESTS 11 93 1331200 800
182765774 u-day heroooo Susshanth B Nov. 27, 2022, 10:41 a.m. OK PyPy 3 TESTS 11 93 1536000 800
182768914 Argbell B Nov. 27, 2022, 11:01 a.m. OK PyPy 3 TESTS 11 93 2969600 800
182967081 sw_enthusiast B Nov. 28, 2022, 4:24 a.m. OK PyPy 3 TESTS 11 93 66662400 800
182958341 akimuuwu B Nov. 28, 2022, 12:28 a.m. OK PyPy 3 TESTS 11 108 1331200 800
182938118 Yash_Nandwana B Nov. 27, 2022, 5:49 p.m. OK PyPy 3 TESTS 11 171 2457600 800
182766420 chromate00 B Nov. 27, 2022, 10:45 a.m. OK PyPy 3-64 TESTS 11 61 1536000 800
182765999 Skillful_Wanderer B Nov. 27, 2022, 10:42 a.m. OK PyPy 3-64 TESTS 11 61 1638400 800
182971496 himang22214 B Nov. 28, 2022, 5:55 a.m. OK PyPy 3-64 TESTS 11 62 1536000 800
182951471 iZyadNasser B Nov. 27, 2022, 9:22 p.m. OK PyPy 3-64 TESTS 11 62 1536000 800
182926512 miraz.ezaz B Nov. 27, 2022, 3:52 p.m. OK PyPy 3-64 TESTS 11 62 1536000 800
182924929 crapcode B Nov. 27, 2022, 3:38 p.m. OK PyPy 3-64 TESTS 11 62 1536000 800
182772847 Imron B Nov. 27, 2022, 11:29 a.m. OK PyPy 3-64 TESTS 11 62 1638400 800
182948026 stef06 B Nov. 27, 2022, 8:21 p.m. OK PyPy 3-64 TESTS 11 62 1740800 800
182900012 binijamin_et B Nov. 27, 2022, 12:19 p.m. OK PyPy 3-64 TESTS 11 62 1740800 800
182899715 rsuryashiva B Nov. 27, 2022, 12:16 p.m. OK PyPy 3-64 TESTS 11 62 1740800 800
182924190 shiva_prasad16 B Nov. 27, 2022, 3:32 p.m. OK Python 3 TESTS 11 31 0 800
182774804 _BREEZE_ B Nov. 27, 2022, 11:43 a.m. OK Python 3 TESTS 11 31 0 800
182770863 seawon0808 B Nov. 27, 2022, 11:15 a.m. OK Python 3 TESTS 11 31 0 800
182770123 user_user_user B Nov. 27, 2022, 11:10 a.m. OK Python 3 TESTS 11 31 0 800
182766026 Alenochka Alex_TULGU AERIA1 B Nov. 27, 2022, 10:43 a.m. OK Python 3 TESTS 11 31 0 800
182925692 shiva_prasad16 B Nov. 27, 2022, 3:45 p.m. OK Python 3 TESTS 11 46 0 800
182921500 shubham_6105 B Nov. 27, 2022, 3:07 p.m. OK Python 3 TESTS 11 46 0 800
182916909 Sabih_Chowdhury Saharan_Evan Akisan_sensei B Nov. 27, 2022, 2:27 p.m. OK Python 3 TESTS 11 46 0 800
182912532 122_ B Nov. 27, 2022, 1:52 p.m. OK Python 3 TESTS 11 46 0 800
182904688 heidary13794 B Nov. 27, 2022, 12:52 p.m. OK Python 3 TESTS 11 46 0 800
182769222 1101_ B Nov. 27, 2022, 11:04 a.m. OK Rust 2021 TESTS 11 15 0 800
182765764 Egor B Nov. 27, 2022, 10:41 a.m. OK Rust 2021 TESTS 11 15 0 800
182765361 CSQ31 Spheniscine B Nov. 27, 2022, 10:38 a.m. OK Rust 2021 TESTS 11 15 102400 800

remove filters

Back to search problems