Testing Round 19 (Div. 3)

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
2010 Testing Round 19 (Div. 3) FINISHED False 2700 51528323 Aug. 28, 2024, 8:35 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 9218 ) C1 Message Transmission Error (easy version) PROGRAMMING strings 1400

This is a simplified version of the problem. It differs from the difficult one only in its constraints. At the Berland State University, the local network between servers does not always operate without errors. When transmitting two identical messages consecutively, an error may occur, resulting in the two messages merging into one. In this merging, the end of the first message coincides with the beginning of the second. Of course, the merging can only occur at identical characters. The length of the merging must be a positive number less than the length of the message text. For example, when transmitting two messages " abrakadabra " consecutively, it is possible that it will be transmitted with the described type of error, resulting in a message like " abrakadabrabrakadabra " or " abrakadabrakadabra ' (in the first case, the merging occurred at one character, and in the second case, at four). Given the received message t , determine if it is possible that this is the result of an error of the described type in the operation of the local network, and if so, determine a possible value of s . A situation where two messages completely overlap each other should not be considered an error. For example, if the received message is " abcd ", it should be considered that there is no error in it. Similarly, simply appending one message after another is not a sign of an error. For instance, if the received message is " abcabc ", it should also be considered that there is no error in it. The input consists of a single non-empty string t , consisting of lowercase letters of the Latin alphabet. The length of the string t does not exceed 100 characters. If the message t cannot contain an error, output " NO " (without quotes) in a single line of output. Otherwise, in the first line, output " YES " (without quotes), and in the next line, output the string s — a possible message that could have led to the error. If there are multiple possible answers, any of them is accepta

Tutorials

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
278565401 A1ternate C1 Aug. 28, 2024, 9:19 p.m. OK C# 10 TESTS 136 93 0 1400
278569940 TOXIC_XYZ C1 Aug. 28, 2024, 10:04 p.m. OK C++17 (GCC 7-32) TESTS 136 46 921600 1400
278590772 relaxed_beaver C1 Aug. 29, 2024, 5:27 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278587538 ClayJensen C1 Aug. 29, 2024, 4:39 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278586405 baka.be.serious C1 Aug. 29, 2024, 4:19 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278586085 Mehedy_Hasan_Alvee C1 Aug. 29, 2024, 4:12 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278576656 sanbi52 C1 Aug. 29, 2024, 1:02 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278580288 gjh_ict C1 Aug. 29, 2024, 2:24 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278591166 baka.be.serious C1 Aug. 29, 2024, 5:33 a.m. OK C++17 (GCC 7-32) TESTS 136 61 102400 1400
278592859 shobhitraj C1 Aug. 29, 2024, 5:54 a.m. OK C++17 (GCC 7-32) TESTS 136 62 102400 1400
278592034 baloon8 C1 Aug. 29, 2024, 5:45 a.m. OK C++17 (GCC 7-32) TESTS 136 62 102400 1400
278585478 hebau_ber C1 Aug. 29, 2024, 4:01 a.m. OK C++20 (GCC 13-64) TESTS 136 46 102400 1400
278570961 MahdyTN C1 Aug. 28, 2024, 10:28 p.m. OK C++20 (GCC 13-64) TESTS 136 46 102400 1400
278582387 zachman99323 C1 Aug. 29, 2024, 3:06 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278590753 An_Aussie_ C1 Aug. 29, 2024, 5:27 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278590215 im_veer29 C1 Aug. 29, 2024, 5:19 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278588906 jiangly C1 Aug. 29, 2024, 5 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278587845 shawakash2003 C1 Aug. 29, 2024, 4:44 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278587176 kkksmile C1 Aug. 29, 2024, 4:32 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278584004 suki._.dayo C1 Aug. 29, 2024, 3:34 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278578548 VICTORIS C1 Aug. 29, 2024, 1:46 a.m. OK C++20 (GCC 13-64) TESTS 136 61 102400 1400
278569543 Mohamedalaa100 C1 Aug. 28, 2024, 9:56 p.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7577600 1400
278593437 rahulyadav252424 C1 Aug. 29, 2024, 6:01 a.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7577600 1400
278581812 Ghammaz_SundarSTEM C1 Aug. 29, 2024, 2:55 a.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7577600 1400
278570502 DeanMenezes93 C1 Aug. 28, 2024, 10:16 p.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7577600 1400
278560877 notathrowaway C1 Aug. 28, 2024, 8:41 p.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7577600 1400
278569008 tridipta1912 C1 Aug. 28, 2024, 9:46 p.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7680000 1400
278591697 Dominater069 C1 Aug. 29, 2024, 5:40 a.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7680000 1400
278577692 find C1 Aug. 29, 2024, 1:27 a.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7680000 1400
278573684 meem_358 C1 Aug. 28, 2024, 11:37 p.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7680000 1400
278565863 leoper C1 Aug. 28, 2024, 9:25 p.m. OK C++23 (GCC 14-64, msys2) TESTS 136 62 7680000 1400
278591650 cpp10 C1 Aug. 29, 2024, 5:39 a.m. OK Java 21 TESTS 136 265 1638400 1400
278591754 cpp10 C1 Aug. 29, 2024, 5:41 a.m. OK Java 21 TESTS 136 280 1126400 1400
278562440 Raging_Shashank C1 Aug. 28, 2024, 8:53 p.m. OK Java 21 TESTS 136 296 1740800 1400
278589139 iamalizaidi C1 Aug. 29, 2024, 5:03 a.m. OK Java 21 TESTS 136 343 1536000 1400
278562080 Eslam_Ahmed C1 Aug. 28, 2024, 8:50 p.m. OK Java 8 TESTS 136 171 0 1400
278570639 Yousef_Badr C1 Aug. 28, 2024, 10:20 p.m. OK Java 8 TESTS 136 187 15974400 1400
278568537 bnmanubharadwaj C1 Aug. 28, 2024, 9:37 p.m. OK JavaScript TESTS 136 77 102400 1400
278583709 haishen C1 Aug. 29, 2024, 3:29 a.m. OK Node.js TESTS 136 124 102400 1400
278565132 HuTao_Oya_OyaOya C1 Aug. 28, 2024, 9:17 p.m. OK PyPy 3 TESTS 136 109 0 1400
278561770 MDSPro C1 Aug. 28, 2024, 8:48 p.m. OK PyPy 3 TESTS 136 156 102400 1400
278568830 ZigZwangoo C1 Aug. 28, 2024, 9:43 p.m. OK PyPy 3-64 TESTS 136 92 0 1400
278560911 eugenechka.boyko.2_0-0 C1 Aug. 28, 2024, 8:41 p.m. OK PyPy 3-64 TESTS 136 93 0 1400
278590632 pein531 C1 Aug. 29, 2024, 5:25 a.m. OK PyPy 3-64 TESTS 136 93 0 1400
278570793 Dafna45 C1 Aug. 28, 2024, 10:24 p.m. OK PyPy 3-64 TESTS 136 93 0 1400
278570426 ZigZwangoo C1 Aug. 28, 2024, 10:15 p.m. OK PyPy 3-64 TESTS 136 93 0 1400
278587767 RinkaSnow C1 Aug. 29, 2024, 4:42 a.m. OK PyPy 3-64 TESTS 136 108 0 1400
278586654 js_pro C1 Aug. 29, 2024, 4:23 a.m. OK PyPy 3-64 TESTS 136 108 716800 1400
278586993 LightHouse1 C1 Aug. 29, 2024, 4:29 a.m. OK PyPy 3-64 TESTS 136 108 1433600 1400
278580309 equeen C1 Aug. 29, 2024, 2:25 a.m. OK PyPy 3-64 TESTS 136 109 0 1400
278565828 violetE C1 Aug. 28, 2024, 9:25 p.m. OK PyPy 3-64 TESTS 136 109 0 1400
278584989 coder_XinKang C1 Aug. 29, 2024, 3:52 a.m. OK Python 3 TESTS 136 77 0 1400
278580114 jjharris C1 Aug. 29, 2024, 2:20 a.m. OK Python 3 TESTS 136 77 0 1400
278578311 c4ig0uzi C1 Aug. 29, 2024, 1:41 a.m. OK Python 3 TESTS 136 78 0 1400
278575683 arjun_g325 C1 Aug. 29, 2024, 12:37 a.m. OK Python 3 TESTS 136 78 0 1400
278588012 KuchuGopi C1 Aug. 29, 2024, 4:46 a.m. OK Python 3 TESTS 136 93 0 1400
278585914 phantrongnghia510 C1 Aug. 29, 2024, 4:09 a.m. OK Python 3 TESTS 136 93 0 1400
278563792 Deadlift_guy_0010 C1 Aug. 28, 2024, 9:05 p.m. OK Python 3 TESTS 136 93 0 1400
278562661 Anonymous_HF C1 Aug. 28, 2024, 8:55 p.m. OK Python 3 TESTS 136 93 0 1400
278572667 0x81 C1 Aug. 28, 2024, 11:13 p.m. OK Ruby 3 TESTS 136 374 1126400 1400

remove filters

Back to search problems