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"The first line contains a single integer t ( 1 <= t <= 32 ) -- the number of test cases. Each test case contains n lines. The i -th line contains an integer a_i ( 1 <= a_i <= 9 ). The sum of n over all test cases doesn't exceed 155 . For each test case, print one integer -- the answer. "... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
200322060 |
Mushfiqur_ |
C |
April 2, 2023, 3:09 a.m. |
OK |
Clang++20 Diagnostics |
TESTS |
6 |
31 |
0 |
|
|
200267892 |
rainboy |
C |
April 1, 2023, 4:14 p.m. |
OK |
GNU C11 |
TESTS |
6 |
15 |
0 |
|
|
200322293 |
iffatul_anon |
C |
April 2, 2023, 3:14 a.m. |
OK |
GNU C11 |
TESTS |
6 |
15 |
0 |
|
|
200329774 |
Moka50 |
C |
April 2, 2023, 5:17 a.m. |
OK |
GNU C11 |
TESTS |
6 |
15 |
0 |
|
|
200319610 |
AkaiLemon |
C |
April 2, 2023, 2:23 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200277283 |
China_Wmq |
C |
April 1, 2023, 4:24 p.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200276427 |
Silliance |
C |
April 1, 2023, 4:23 p.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200271157 |
yeyangtao |
C |
April 1, 2023, 4:17 p.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200333623 |
brownfox2k6 |
C |
April 2, 2023, 6:02 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200331777 |
Hebu17 |
C |
April 2, 2023, 5:41 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200320417 |
_YXJS_ |
C |
April 2, 2023, 2:41 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
0 |
|
|
200319854 |
-Amar_ |
C |
April 2, 2023, 2:28 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
0 |
31641600 |
|
|
200329661 |
tarek200 |
C |
April 2, 2023, 5:16 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
15 |
0 |
|
|
200332544 |
keep1earning |
C |
April 2, 2023, 5:50 a.m. |
OK |
GNU C++14 |
TESTS |
6 |
15 |
0 |
|
|
200327670 |
DhoNi_hObar_Mojar_khelA |
C |
April 2, 2023, 4:48 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200326013 |
AliiSh |
C |
April 2, 2023, 4:21 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200325596 |
Kevin8502 |
C |
April 2, 2023, 4:14 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200322416 |
I_love_Hoang_Yen |
C |
April 2, 2023, 3:16 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200320092 |
Jasoncwx |
C |
April 2, 2023, 2:34 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200280651 |
teddybear2503 |
C |
April 1, 2023, 4:29 p.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200279330 |
chiki_D |
C |
April 1, 2023, 4:27 p.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200332744 |
cybernated_clasp |
C |
April 2, 2023, 5:52 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200327892 |
H_a_r_M_i_t |
C |
April 2, 2023, 4:52 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200327771 |
Turag9 |
C |
April 2, 2023, 4:50 a.m. |
OK |
GNU C++17 |
TESTS |
6 |
0 |
0 |
|
|
200272002 |
Am_my11 |
C |
April 1, 2023, 4:18 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
0 |
|
|
200271115 |
hpesoj |
C |
April 1, 2023, 4:17 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
0 |
|
|
200269795 |
MattTheNub |
C |
April 1, 2023, 4:16 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
0 |
|
|
200273617 |
tnaito |
C |
April 1, 2023, 4:20 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
0 |
|
|
200273662 |
ankancool |
C |
April 1, 2023, 4:20 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
0 |
|
|
200326297 |
Hritik12 |
C |
April 2, 2023, 4:26 a.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
0 |
|
|
200330668 |
Askiatic |
C |
April 2, 2023, 5:28 a.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
0 |
10035200 |
|
|
200269302 |
MattTheNub |
C |
April 1, 2023, 4:15 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
15 |
0 |
|
|
200325921 |
Clash7 |
C |
April 2, 2023, 4:20 a.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
15 |
0 |
|
|
200277025 |
gqf123 |
C |
April 1, 2023, 4:24 p.m. |
OK |
GNU C++17 (64) |
TESTS |
6 |
15 |
0 |
|
|
200325114 |
Hafiz_Sakib |
C |
April 2, 2023, 4:06 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200333188 |
ItzDesert |
C |
April 2, 2023, 5:57 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200332739 |
himanshus07 |
C |
April 2, 2023, 5:52 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200329691 |
jtrh |
C |
April 2, 2023, 5:16 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200328440 |
vimal_sonagara |
C |
April 2, 2023, 5 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200328281 |
LY02 |
C |
April 2, 2023, 4:58 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200328270 |
EtherStrike |
C |
April 2, 2023, 4:57 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200328104 |
dipsha.sanu |
C |
April 2, 2023, 4:55 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200328074 |
atishkumar |
C |
April 2, 2023, 4:54 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200326784 |
The__Curse |
C |
April 2, 2023, 4:34 a.m. |
OK |
GNU C++20 (64) |
TESTS |
6 |
0 |
0 |
|
|
200280726 |
Yuki_B |
C |
April 1, 2023, 4:29 p.m. |
OK |
Java 11 |
TESTS |
6 |
187 |
0 |
|
|
200324090 |
AVone |
C |
April 2, 2023, 3:48 a.m. |
OK |
Java 17 |
TESTS |
6 |
202 |
204800 |
|
|
200270880 |
IanISam |
C |
April 1, 2023, 4:17 p.m. |
OK |
Java 8 |
TESTS |
6 |
77 |
0 |
|
|
200280122 |
QUITTING |
C |
April 1, 2023, 4:28 p.m. |
OK |
Java 8 |
TESTS |
6 |
93 |
0 |
|
|
200273688 |
acceleracter |
C |
April 1, 2023, 4:20 p.m. |
OK |
PyPy 3 |
TESTS |
6 |
77 |
0 |
|
|
200331489 |
M4H1D |
C |
April 2, 2023, 5:37 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
200329511 |
3laa3adel_13 |
C |
April 2, 2023, 5:14 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
200320782 |
ssamt |
C |
April 2, 2023, 2:47 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
200275463 |
uue_kun |
C |
April 1, 2023, 4:22 p.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
46 |
0 |
|
|
200331463 |
Marquis03 |
C |
April 2, 2023, 5:37 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
61 |
0 |
|
|
200331413 |
M4H1D |
C |
April 2, 2023, 5:36 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
61 |
0 |
|
|
200330910 |
edwardnvv57k |
C |
April 2, 2023, 5:30 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
61 |
0 |
|
|
200327780 |
vishnesh |
C |
April 2, 2023, 4:50 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
61 |
0 |
|
|
200280398 |
parkky |
C |
April 1, 2023, 4:28 p.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
61 |
0 |
|
|
200332044 |
udayan8 |
C |
April 2, 2023, 5:44 a.m. |
OK |
PyPy 3-64 |
TESTS |
6 |
62 |
0 |
|
|
200331556 |
M4H1D |
C |
April 2, 2023, 5:38 a.m. |
OK |
Python 3 |
TESTS |
6 |
30 |
0 |
|
|
200325927 |
huxiaotaostasy |
C |
April 2, 2023, 4:20 a.m. |
OK |
Python 3 |
TESTS |
6 |
31 |
0 |
|
|
200321705 |
Mohammad-Reza |
C |
April 2, 2023, 3:03 a.m. |
OK |
Python 3 |
TESTS |
6 |
31 |
0 |
|
|
200331597 |
M4H1D |
C |
April 2, 2023, 5:39 a.m. |
OK |
Python 3 |
TESTS |
6 |
46 |
0 |
|
|
200325442 |
dev_italiya |
C |
April 2, 2023, 4:12 a.m. |
OK |
Python 3 |
TESTS |
6 |
46 |
0 |
|
|
200322552 |
dutin |
C |
April 2, 2023, 3:19 a.m. |
OK |
Python 3 |
TESTS |
6 |
46 |
0 |
|
|
remove filters
Back to search problems