Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2)

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
1553 Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) FINISHED False 9000 110215463 July 22, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 14307 ) B Reverse String PROGRAMMING brute force dp hashing strings

B'You have a string s and a chip, which you can place onto any character of this string. After placing the chip, you move it to the right several (maybe zero) times, i. e. you perform the following operation several times: if the current position of the chip is i , you move it to the position i + 1 . Of course, moving the chip to the right is impossible if it is already in the last position. After moving the chip to the right, you move it to the left several (maybe zero) times, i. e. you perform the following operation several times: if the current position of the chip is i , you move it to the position i - 1 . Of course, moving the chip to the left is impossible if it is already in the first position. When you place a chip or move it, you write down the character where the chip ends up after your action. For example, if s is abcdef, you place the chip onto the 3 -rd character, move it to the right 2 times and then move it to the left 3 times, you write down the string cdedcb. You are given two strings s and t . Your task is to determine whether it 's possible to perform the described operations with s so that you write down the string t as a result. The first line contains one integer q ( 1 <= q <= 500 ) -- the number of test cases. Each test case consists of two lines. The first line contains the string s ( 1 <= |s| <= 500 ), the second line contains the string t ( 1 <= |t| <= 2 cdot |s| - 1 ). Both strings consist of lowercase English characters. It is guaranteed that the sum of |s| over all test cases does not exceed 500 . For each test case, print "YES" if you can obtain the string t by performing the process mentioned in the statement with the string s , or "NO" if you cannot. You may print each letter in any case (YES, yes, Yes will all be recognized as positive answer, NO, no and nO will all be recognized as negative a'...

Tutorials

Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
123376123 tpfearless B July 23, 2021, 1:10 a.m. OK GNU C11 TESTS 17 15 3686400
123390474 BugLeave B July 23, 2021, 4:49 a.m. OK GNU C11 TESTS 17 30 3686400
123377223 BohongLi B July 23, 2021, 1:32 a.m. OK GNU C11 TESTS 17 31 3686400
123392291 Yzh.. B July 23, 2021, 5:13 a.m. OK GNU C++11 TESTS 17 15 3891200
123391177 Synthra B July 23, 2021, 4:59 a.m. OK GNU C++11 TESTS 17 15 3891200
123388602 DarknessCatcher B July 23, 2021, 4:23 a.m. OK GNU C++11 TESTS 17 15 3891200
123388326 Create_Random B July 23, 2021, 4:19 a.m. OK GNU C++11 TESTS 17 15 3891200
123387458 SFm4tdie B July 23, 2021, 4:05 a.m. OK GNU C++11 TESTS 17 15 3891200
123394034 long_2021 B July 23, 2021, 5:35 a.m. OK GNU C++11 TESTS 17 15 3891200
123393845 long_2021 B July 23, 2021, 5:32 a.m. OK GNU C++11 TESTS 17 15 3891200
123393227 My_Dream4818 B July 23, 2021, 5:26 a.m. OK GNU C++11 TESTS 17 15 3891200
123395447 imitate20021 B July 23, 2021, 5:51 a.m. OK GNU C++11 TESTS 17 15 3891200
123395228 jcnp B July 23, 2021, 5:48 a.m. OK GNU C++11 TESTS 17 15 3891200
123380126 iThunderGod B July 23, 2021, 2:21 a.m. OK GNU C++14 TESTS 17 15 3788800
123374462 phukhao004 B July 23, 2021, 12:29 a.m. OK GNU C++14 TESTS 17 15 3788800
123358767 Hard_to_Grow B July 22, 2021, 6:56 p.m. OK GNU C++14 TESTS 17 15 3788800
123347780 theprof B July 22, 2021, 4:52 p.m. OK GNU C++14 TESTS 17 15 3788800
123346880 shady_carrots B July 22, 2021, 4:49 p.m. OK GNU C++14 TESTS 17 15 3788800
123393751 mashiroyuki B July 23, 2021, 5:32 a.m. OK GNU C++14 TESTS 17 15 3788800
123381415 324165877 B July 23, 2021, 2:40 a.m. OK GNU C++14 TESTS 17 15 3788800
123363385 dreamsofcode B July 22, 2021, 7:51 p.m. OK GNU C++14 TESTS 17 15 3891200
123386591 Somya_123 B July 23, 2021, 3:53 a.m. OK GNU C++14 TESTS 17 15 3891200
123383689 vspawar056 B July 23, 2021, 3:13 a.m. OK GNU C++14 TESTS 17 15 3891200
123378930 Superme.. B July 23, 2021, 2:01 a.m. OK GNU C++17 TESTS 17 15 3686400
123371856 Brre.Hemo B July 22, 2021, 10:56 p.m. OK GNU C++17 TESTS 17 15 3686400
123394134 DongGu B July 23, 2021, 5:36 a.m. OK GNU C++17 TESTS 17 15 3788800
123395792 18_Pranjul B July 23, 2021, 5:55 a.m. OK GNU C++17 TESTS 17 15 3788800
123395563 sarwan010300 B July 23, 2021, 5:52 a.m. OK GNU C++17 TESTS 17 15 3788800
123395537 iuuu B July 23, 2021, 5:52 a.m. OK GNU C++17 TESTS 17 15 3788800
123392855 code_hackadeep B July 23, 2021, 5:21 a.m. OK GNU C++17 TESTS 17 15 3788800
123392418 Jeel_patel_1812 B July 23, 2021, 5:15 a.m. OK GNU C++17 TESTS 17 15 3788800
123391880 Knight79 B July 23, 2021, 5:08 a.m. OK GNU C++17 TESTS 17 15 3788800
123391600 for_prac B July 23, 2021, 5:05 a.m. OK GNU C++17 TESTS 17 15 3788800
123390259 Kuroru_Lucifuru B July 23, 2021, 4:46 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123386190 nit_ay03 B July 23, 2021, 3:48 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123382799 imsauravgauravjha B July 23, 2021, 3 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123381475 TheNerd06 B July 23, 2021, 2:41 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123379185 nowood B July 23, 2021, 2:06 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123377403 akdon1198 B July 23, 2021, 1:35 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123377316 vineeth_kada B July 23, 2021, 1:33 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123375616 One_top_two B July 23, 2021, 12:59 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123392830 neles_650 B July 23, 2021, 5:20 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123395976 Niloy_Das_19 B July 23, 2021, 5:57 a.m. OK GNU C++17 (64) TESTS 17 15 4300800
123383654 Miraizu B July 23, 2021, 3:13 a.m. OK Go TESTS 17 31 10649600
123392751 SaberXpro B July 23, 2021, 5:20 a.m. OK Java 11 TESTS 17 171 23756800
123384393 mphillotry B July 23, 2021, 3:23 a.m. OK Java 11 TESTS 17 171 23756800
123369633 MoonCoder1234 B July 22, 2021, 9:49 p.m. OK Java 11 TESTS 17 171 23756800
123362350 R3KT B July 22, 2021, 7:36 p.m. OK Java 11 TESTS 17 171 23756800
123366327 DedsecKnight B July 22, 2021, 8:39 p.m. OK Java 11 TESTS 17 171 24064000
123360494 tony_heart B July 22, 2021, 7:13 p.m. OK Java 11 TESTS 17 186 23756800
123386471 goel_mehul B July 23, 2021, 3:51 a.m. OK Java 11 TESTS 17 186 23756800
123359478 _Body B July 22, 2021, 7:03 p.m. OK Java 11 TESTS 17 186 23859200
123389144 _awwwsme_ B July 23, 2021, 4:31 a.m. OK Java 11 TESTS 17 187 23756800
123383573 Swapniltri B July 23, 2021, 3:12 a.m. OK Java 11 TESTS 17 187 23756800
123392324 guru1603 B July 23, 2021, 5:14 a.m. OK Java 8 TESTS 17 108 20377600
123392966 BruteForcee B July 23, 2021, 5:22 a.m. OK Java 8 TESTS 17 109 20377600
123394156 priyam_anand B July 23, 2021, 5:36 a.m. OK Java 8 TESTS 17 109 20480000
123364743 coolManit B July 22, 2021, 8:11 p.m. OK Java 8 TESTS 17 124 20377600
123349153 thetansquared B July 22, 2021, 4:57 p.m. OK Java 8 TESTS 17 124 20377600
123366779 hu_tao B July 22, 2021, 8:46 p.m. OK Java 8 TESTS 17 124 20480000
123385390 Shagoto B July 23, 2021, 3:37 a.m. OK Java 8 TESTS 17 124 21196800
123365689 RonWonWon B July 22, 2021, 8:28 p.m. OK Java 8 TESTS 17 140 20377600
123382608 Zahid_Hasan_Sahin B July 23, 2021, 2:57 a.m. OK Java 8 TESTS 17 140 21196800
123392331 sharma_ji_420 B July 23, 2021, 5:14 a.m. OK Java 8 TESTS 17 140 21196800
123381781 5612 B July 23, 2021, 2:45 a.m. OK JavaScript TESTS 17 31 7372800
123381586 5612 B July 23, 2021, 2:42 a.m. OK JavaScript TESTS 17 46 7577600
123366985 reanimatorzon B July 22, 2021, 8:51 p.m. OK Kotlin TESTS 17 124 20377600
123362161 shortcut B July 22, 2021, 7:34 p.m. OK Kotlin TESTS 17 140 21708800
123357111 Tlatoani B July 22, 2021, 6:44 p.m. OK Kotlin TESTS 17 436 20684800
123347114 FLself B July 22, 2021, 4:50 p.m. OK MS C++ 2017 TESTS 17 15 3788800
123386922 zxz__ B July 23, 2021, 3:57 a.m. OK MS C++ 2017 TESTS 17 15 3788800
123384206 Xiaomostream B July 23, 2021, 3:20 a.m. OK MS C++ 2017 TESTS 17 15 3788800
123359509 Tangerine B July 22, 2021, 7:03 p.m. OK MS C++ 2017 TESTS 17 15 3788800
123387066 zxz__ B July 23, 2021, 3:59 a.m. OK MS C++ 2017 TESTS 17 30 3788800
123380330 Ir0nic_Joker B July 23, 2021, 2:23 a.m. OK MS C++ 2017 TESTS 17 31 3788800
123388188 xinxz_6517 B July 23, 2021, 4:17 a.m. OK MS C++ 2017 TESTS 17 31 3788800
123387645 my_hene B July 23, 2021, 4:08 a.m. OK MS C++ 2017 TESTS 17 31 3788800
123347814 UnHingedFrog B July 22, 2021, 4:52 p.m. OK MS C++ 2017 TESTS 17 31 3788800
123390667 vjudge1 B July 23, 2021, 4:52 a.m. OK MS C++ 2017 TESTS 17 46 3686400
123368404 nesco B July 22, 2021, 9:23 p.m. OK .NET Core C# TESTS 17 93 12185600
123370864 coden00b2021 B July 22, 2021, 10:25 p.m. OK PyPy 2 TESTS 17 124 24883200
123370620 coden00b2021 B July 22, 2021, 10:18 p.m. OK PyPy 2 TESTS 17 140 24678400
123372238 coden00b2021 B July 22, 2021, 11:08 p.m. OK PyPy 2 TESTS 17 155 24678400
123369327 snape_here B July 22, 2021, 9:42 p.m. OK PyPy 2 TESTS 17 249 34099200
123351106 singlabharat B July 22, 2021, 5:02 p.m. OK PyPy 3 TESTS 17 93 22118400
123363641 puzzleVerma B July 22, 2021, 7:54 p.m. OK PyPy 3 TESTS 17 108 20172800
123374957 hxu10 B July 23, 2021, 12:43 a.m. OK PyPy 3 TESTS 17 108 20377600
123349023 russab0 B July 22, 2021, 4:56 p.m. OK PyPy 3 TESTS 17 108 22323200
123393566 Dablu_saha B July 23, 2021, 5:29 a.m. OK PyPy 3 TESTS 17 108 22425600
123388888 rishabhrathi22 B July 23, 2021, 4:27 a.m. OK PyPy 3 TESTS 17 109 22016000
123387082 kirito18086 B July 23, 2021, 3:59 a.m. OK PyPy 3 TESTS 17 109 22220800
123359890 thhsu B July 22, 2021, 7:07 p.m. OK PyPy 3 TESTS 17 109 22220800
123358741 shivam_hbtu B July 22, 2021, 6:56 p.m. OK PyPy 3 TESTS 17 109 22220800
123365565 Believer_Ayush B July 22, 2021, 8:25 p.m. OK PyPy 3 TESTS 17 109 22425600
123394284 sh1194 B July 23, 2021, 5:38 a.m. OK Python 3 TESTS 17 62 6758400
123390099 zhubingyan B July 23, 2021, 4:44 a.m. OK Python 3 TESTS 17 62 6758400
123381999 rutz12 B July 23, 2021, 2:49 a.m. OK Python 3 TESTS 17 62 6758400
123358622 VioletVal B July 22, 2021, 6:55 p.m. OK Python 3 TESTS 17 62 6758400
123382321 never_give_up_cpp B July 23, 2021, 2:53 a.m. OK Python 3 TESTS 17 62 6963200
123377772 riosshin24 B July 23, 2021, 1:42 a.m. OK Python 3 TESTS 17 77 6758400
123364159 EvitFan B July 22, 2021, 8:02 p.m. OK Python 3 TESTS 17 77 6758400
123357917 _unstable_atom B July 22, 2021, 6:49 p.m. OK Python 3 TESTS 17 77 6758400
123357235 C3Suryansu B July 22, 2021, 6:45 p.m. OK Python 3 TESTS 17 77 6758400
123355673 Fedak_Aleksandra B July 22, 2021, 6:36 p.m. OK Python 3 TESTS 17 77 6758400
123366756 GiackAloZ B July 22, 2021, 8:46 p.m. OK Rust TESTS 17 15 3788800
123366385 GiackAloZ B July 22, 2021, 8:40 p.m. OK Rust TESTS 17 30 3891200

remove filters

Back to search problems