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.
Problems
B'A string is called square if it is some string written twice in a row. For example, the strings "aa", "abcabc", "abab" and "baabaa" are square. But the strings "aaa", "abaaab" and "abcdabc" are not square. For a given string s determine if it is square. The first line of input data contains an integer t ( 1 <= t <= 100 ) --the number of test cases. This is followed by t lines, each containing a description of one test case. The given strings consist only of lowercase Latin letters and have lengths between 1 and 100 inclusive. For each test case, output on a separate line: You can output YES and NO in any case (for example, strings yEs, yes, Yes and YES will be recognized as a positive response). '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
140188453 |
WALHAY |
A |
Dec. 21, 2021, 4:50 p.m. |
OK |
Clang++17 Diagnostics |
TESTS |
5 |
15 |
0 |
|
|
140195080 |
Lucius4120 |
A |
Dec. 21, 2021, 5:59 p.m. |
OK |
Clang++17 Diagnostics |
TESTS |
5 |
31 |
0 |
|
|
140184240 |
DoraChen |
A |
Dec. 21, 2021, 4:08 p.m. |
OK |
Clang++17 Diagnostics |
TESTS |
5 |
31 |
0 |
|
|
140155647 |
wang_ |
A |
Dec. 21, 2021, 10:59 a.m. |
OK |
Clang++17 Diagnostics |
TESTS |
5 |
46 |
0 |
|
|
140119561 |
ssvb |
A |
Dec. 21, 2021, 1:19 a.m. |
OK |
D |
TESTS |
5 |
15 |
0 |
|
|
140121725 |
klimisnotmilk |
A |
Dec. 21, 2021, 2:37 a.m. |
OK |
GNU C11 |
TESTS |
5 |
0 |
0 |
|
|
140177630 |
xbtszp |
A |
Dec. 21, 2021, 3:03 p.m. |
OK |
GNU C11 |
TESTS |
5 |
0 |
0 |
|
|
140182629 |
hridoy_rahman |
A |
Dec. 21, 2021, 3:53 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140213372 |
Crazy_SS |
A |
Dec. 22, 2021, 1:19 a.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140202090 |
Golchi_ |
A |
Dec. 21, 2021, 7:36 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140201158 |
Golchi_ |
A |
Dec. 21, 2021, 7:20 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140195223 |
t_e_e_s |
A |
Dec. 21, 2021, 6:01 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140194027 |
Shilpi_ |
A |
Dec. 21, 2021, 5:48 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140188299 |
parthu |
A |
Dec. 21, 2021, 4:48 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140184331 |
1421011496KienLT |
A |
Dec. 21, 2021, 4:08 p.m. |
OK |
GNU C11 |
TESTS |
5 |
15 |
0 |
|
|
140215571 |
soumyajoydas01 |
A |
Dec. 22, 2021, 2:35 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140213345 |
fickle0 |
A |
Dec. 22, 2021, 1:18 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140214157 |
wei.youmn |
A |
Dec. 22, 2021, 1:46 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140216982 |
fickle0 |
A |
Dec. 22, 2021, 3:14 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140217360 |
xjqsh |
A |
Dec. 22, 2021, 3:23 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140218480 |
VJG7 |
A |
Dec. 22, 2021, 3:51 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140220703 |
silent_tsunami |
A |
Dec. 22, 2021, 4:42 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140221274 |
bkifhr9 |
A |
Dec. 22, 2021, 4:54 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140223029 |
Arceus17 |
A |
Dec. 22, 2021, 5:25 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140224197 |
Sanskar_4416 |
A |
Dec. 22, 2021, 5:46 a.m. |
OK |
GNU C++14 |
TESTS |
5 |
0 |
0 |
|
|
140222451 |
sushantkumargupta |
A |
Dec. 22, 2021, 5:15 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140224451 |
call_kisaki_10 |
A |
Dec. 22, 2021, 5:50 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140224322 |
itzgcbj |
A |
Dec. 22, 2021, 5:48 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140224027 |
lucky_2253 |
A |
Dec. 22, 2021, 5:43 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140223134 |
huangw |
A |
Dec. 22, 2021, 5:27 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140223033 |
hungry_wolf_07 |
A |
Dec. 22, 2021, 5:25 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140222967 |
ankit_soni_21 |
A |
Dec. 22, 2021, 5:24 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140222507 |
hansifpp |
A |
Dec. 22, 2021, 5:16 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140222245 |
jinisha03 |
A |
Dec. 22, 2021, 5:11 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140222056 |
hitesh.goel05 |
A |
Dec. 22, 2021, 5:08 a.m. |
OK |
GNU C++17 |
TESTS |
5 |
0 |
0 |
|
|
140204509 |
Actium |
A |
Dec. 21, 2021, 8:21 p.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140197426 |
ykv749 |
A |
Dec. 21, 2021, 6:26 p.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140195114 |
TheOldFool |
A |
Dec. 21, 2021, 6 p.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140210129 |
Orn0 |
A |
Dec. 21, 2021, 10:51 p.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140212124 |
hollis_yang |
A |
Dec. 22, 2021, 12:30 a.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140214618 |
leaf1415 |
A |
Dec. 22, 2021, 2:01 a.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140215801 |
Clone05 |
A |
Dec. 22, 2021, 2:40 a.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140220327 |
arunsingh1771999 |
A |
Dec. 22, 2021, 4:34 a.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140222897 |
toufiqul |
A |
Dec. 22, 2021, 5:23 a.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140223649 |
zhanglinqiang |
A |
Dec. 22, 2021, 5:36 a.m. |
OK |
GNU C++17 (64) |
TESTS |
5 |
0 |
0 |
|
|
140213664 |
BaoJiaoPisu |
A |
Dec. 22, 2021, 1:30 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140212941 |
jyy1101 |
A |
Dec. 22, 2021, 1:03 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140210058 |
kulezi |
A |
Dec. 21, 2021, 10:49 p.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140214364 |
nbminh |
A |
Dec. 22, 2021, 1:53 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140213288 |
luogu_bot4 |
A |
Dec. 22, 2021, 1:16 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140224740 |
LittleNobody |
A |
Dec. 22, 2021, 5:55 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140218364 |
blx |
A |
Dec. 22, 2021, 3:48 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140217254 |
heisenberg09 |
A |
Dec. 22, 2021, 3:20 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140216412 |
Hoppz |
A |
Dec. 22, 2021, 2:57 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140215262 |
Ltta113 |
A |
Dec. 22, 2021, 2:24 a.m. |
OK |
GNU C++20 (64) |
TESTS |
5 |
0 |
0 |
|
|
140149324 |
graceoflives |
A |
Dec. 21, 2021, 9:46 a.m. |
OK |
Go |
TESTS |
5 |
15 |
0 |
|
|
140219650 |
aruny0767 |
A |
Dec. 22, 2021, 4:19 a.m. |
OK |
Java 11 |
TESTS |
5 |
140 |
0 |
|
|
140180206 |
abhishek_00001 |
A |
Dec. 21, 2021, 3:29 p.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140213014 |
vipulm7 |
A |
Dec. 22, 2021, 1:06 a.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140197135 |
nicoladeveloper |
A |
Dec. 21, 2021, 6:22 p.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140195574 |
pratishank_05 |
A |
Dec. 21, 2021, 6:04 p.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140175966 |
mrudul4935 |
A |
Dec. 21, 2021, 2:46 p.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140172005 |
SuckFuckME |
A |
Dec. 21, 2021, 2:07 p.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140150806 |
dhruvil_01 |
A |
Dec. 21, 2021, 10:04 a.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140147905 |
sohamdas301 |
A |
Dec. 21, 2021, 9:29 a.m. |
OK |
Java 11 |
TESTS |
5 |
155 |
0 |
|
|
140223354 |
Mohit1712 |
A |
Dec. 22, 2021, 5:31 a.m. |
OK |
Java 11 |
TESTS |
5 |
156 |
0 |
|
|
140120848 |
201502010200 |
A |
Dec. 21, 2021, 2:09 a.m. |
OK |
Java 8 |
TESTS |
5 |
77 |
0 |
|
|
140161934 |
Vishnu750 |
A |
Dec. 21, 2021, 12:18 p.m. |
OK |
Java 8 |
TESTS |
5 |
78 |
0 |
|
|
140136011 |
solo07 |
A |
Dec. 21, 2021, 7:13 a.m. |
OK |
Java 8 |
TESTS |
5 |
78 |
0 |
|
|
140156567 |
ElectronicsEngineer |
A |
Dec. 21, 2021, 11:11 a.m. |
OK |
Java 8 |
TESTS |
5 |
78 |
0 |
|
|
140162380 |
ccj123 |
A |
Dec. 21, 2021, 12:23 p.m. |
OK |
Java 8 |
TESTS |
5 |
93 |
0 |
|
|
140170779 |
KareemAshraf_ |
A |
Dec. 21, 2021, 1:55 p.m. |
OK |
Java 8 |
TESTS |
5 |
93 |
0 |
|
|
140167605 |
slow.coder |
A |
Dec. 21, 2021, 1:23 p.m. |
OK |
Java 8 |
TESTS |
5 |
93 |
0 |
|
|
140163023 |
SumitSingh5 |
A |
Dec. 21, 2021, 12:30 p.m. |
OK |
Java 8 |
TESTS |
5 |
93 |
0 |
|
|
140213342 |
OBAD_HFS |
A |
Dec. 22, 2021, 1:18 a.m. |
OK |
Java 8 |
TESTS |
5 |
93 |
0 |
|
|
140190061 |
realcoco |
A |
Dec. 21, 2021, 5:06 p.m. |
OK |
Java 8 |
TESTS |
5 |
93 |
0 |
|
|
140149313 |
TRR |
A |
Dec. 21, 2021, 9:46 a.m. |
OK |
Mono C# |
TESTS |
5 |
31 |
0 |
|
|
140125362 |
RealStarlight |
A |
Dec. 21, 2021, 4:12 a.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
0 |
0 |
|
|
140202512 |
Gadi |
A |
Dec. 21, 2021, 7:43 p.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
0 |
0 |
|
|
140126434 |
Plkhvl |
A |
Dec. 21, 2021, 4:34 a.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140125768 |
thoriqafif |
A |
Dec. 21, 2021, 4:21 a.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140173736 |
Killer_No.47 |
A |
Dec. 21, 2021, 2:24 p.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140162489 |
irota |
A |
Dec. 21, 2021, 12:24 p.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140161611 |
Score12122 |
A |
Dec. 21, 2021, 12:14 p.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140140940 |
xMartina |
A |
Dec. 21, 2021, 8:12 a.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140126590 |
BlueElephant |
A |
Dec. 21, 2021, 4:38 a.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140125951 |
thoriqafif |
A |
Dec. 21, 2021, 4:25 a.m. |
OK |
MS C++ 2017 |
TESTS |
5 |
15 |
0 |
|
|
140186513 |
Raven14 |
A |
Dec. 21, 2021, 4:30 p.m. |
OK |
.NET Core C# |
TESTS |
5 |
62 |
0 |
|
|
140151190 |
andr2525 |
A |
Dec. 21, 2021, 10:08 a.m. |
OK |
.NET Core C# |
TESTS |
5 |
62 |
0 |
|
|
140207788 |
Nidz05 |
A |
Dec. 21, 2021, 9:35 p.m. |
OK |
.NET Core C# |
TESTS |
5 |
77 |
0 |
|
|
140203365 |
wuerges |
A |
Dec. 21, 2021, 7:58 p.m. |
OK |
Node.js |
TESTS |
5 |
61 |
0 |
|
|
140149666 |
rsFalse |
A |
Dec. 21, 2021, 9:50 a.m. |
OK |
Perl |
TESTS |
5 |
31 |
0 |
|
|
140117538 |
OlavBakken |
A |
Dec. 20, 2021, 11:48 p.m. |
OK |
PyPy 2 |
TESTS |
5 |
46 |
0 |
|
|
140171212 |
1_2_3_4_5_9 |
A |
Dec. 21, 2021, 2 p.m. |
OK |
PyPy 2 |
TESTS |
5 |
46 |
307200 |
|
|
140185015 |
__Nobel__3 |
A |
Dec. 21, 2021, 4:15 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
46 |
0 |
|
|
140147561 |
saisohith9678 |
A |
Dec. 21, 2021, 9:25 a.m. |
OK |
PyPy 3 |
TESTS |
5 |
61 |
0 |
|
|
140175272 |
Nikita_Yashin |
A |
Dec. 21, 2021, 2:39 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
61 |
0 |
|
|
140206283 |
sjgaudih |
A |
Dec. 21, 2021, 8:58 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140206866 |
riosshin24 |
A |
Dec. 21, 2021, 9:12 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140197545 |
gaha |
A |
Dec. 21, 2021, 6:27 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140188018 |
anish5256 |
A |
Dec. 21, 2021, 4:46 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140185485 |
__Nobel__3 |
A |
Dec. 21, 2021, 4:19 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140180457 |
Yigael |
A |
Dec. 21, 2021, 3:32 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140176742 |
akshat11 |
A |
Dec. 21, 2021, 2:54 p.m. |
OK |
PyPy 3 |
TESTS |
5 |
62 |
0 |
|
|
140183875 |
varshinichallag1 |
A |
Dec. 21, 2021, 4:04 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
62 |
0 |
|
|
140201459 |
v.shc938 |
A |
Dec. 21, 2021, 7:25 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
77 |
0 |
|
|
140184819 |
Gaurav2411 |
A |
Dec. 21, 2021, 4:13 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
77 |
0 |
|
|
140165699 |
Spartanec3344 |
A |
Dec. 21, 2021, 1:02 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
77 |
0 |
|
|
140155372 |
tflave |
A |
Dec. 21, 2021, 10:56 a.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
77 |
0 |
|
|
140191025 |
20h51a05p6 |
A |
Dec. 21, 2021, 5:15 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
78 |
0 |
|
|
140178033 |
FynjyBath |
A |
Dec. 21, 2021, 3:07 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
78 |
0 |
|
|
140190881 |
xprezzzboi |
A |
Dec. 21, 2021, 5:14 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
92 |
0 |
|
|
140191028 |
rebel_404 |
A |
Dec. 21, 2021, 5:15 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
92 |
0 |
|
|
140172871 |
mrobiul |
A |
Dec. 21, 2021, 2:15 p.m. |
OK |
PyPy 3-64 |
TESTS |
5 |
92 |
0 |
|
|
140108078 |
imli_ka_boota |
A |
Dec. 20, 2021, 7:33 p.m. |
OK |
Python 2 |
TESTS |
5 |
31 |
0 |
|
|
140187881 |
dioji |
A |
Dec. 21, 2021, 4:44 p.m. |
OK |
Python 3 |
TESTS |
5 |
30 |
0 |
|
|
140129251 |
Rohitraj60134 |
A |
Dec. 21, 2021, 5:23 a.m. |
OK |
Python 3 |
TESTS |
5 |
30 |
0 |
|
|
140111121 |
maximeromeoassogba03 |
A |
Dec. 20, 2021, 8:29 p.m. |
OK |
Python 3 |
TESTS |
5 |
30 |
0 |
|
|
140190174 |
raggzy |
A |
Dec. 21, 2021, 5:07 p.m. |
OK |
Python 3 |
TESTS |
5 |
30 |
0 |
|
|
140208297 |
Skillful_Wanderer |
A |
Dec. 21, 2021, 9:49 p.m. |
OK |
Python 3 |
TESTS |
5 |
31 |
0 |
|
|
140205384 |
KD02 |
A |
Dec. 21, 2021, 8:39 p.m. |
OK |
Python 3 |
TESTS |
5 |
31 |
0 |
|
|
140223414 |
Starostina |
A |
Dec. 22, 2021, 5:32 a.m. |
OK |
Python 3 |
TESTS |
5 |
31 |
0 |
|
|
140202754 |
nighthero |
A |
Dec. 21, 2021, 7:47 p.m. |
OK |
Python 3 |
TESTS |
5 |
31 |
0 |
|
|
140217735 |
sudiptikader704 |
A |
Dec. 22, 2021, 3:32 a.m. |
OK |
Python 3 |
TESTS |
5 |
31 |
0 |
|
|
140213795 |
Phanmahs91 |
A |
Dec. 22, 2021, 1:34 a.m. |
OK |
Python 3 |
TESTS |
5 |
31 |
0 |
|
|
140216470 |
4rz33 |
A |
Dec. 22, 2021, 2:59 a.m. |
OK |
Ruby 3 |
TESTS |
5 |
202 |
102400 |
|
|
140177636 |
mx_maan |
A |
Dec. 21, 2021, 3:03 p.m. |
OK |
Rust 2021 |
TESTS |
5 |
15 |
0 |
|
|
remove filters
Back to search problems