QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#680019#254. Palindrome Numbersyellowbird100 ✓0ms3512kbC++143.3kb2024-10-26 19:33:102024-10-26 19:33:12

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 100
Accepted
time: 0ms
memory: 3512kb

input:

20
1
9
10
11
12
100
101
102
1111111111111111111111111111111110
1111111111111111111111111111111111
1111111111111111111111111111111112
11111111111111111111111111111111110
11111111111111111111111111111111111
11111111111111111111111111111111112
89999999999999999990000000000000009
99999999999999999999999...

output:

1
9
11
11
22
101
101
111
1111111111111111111111111111111111
1111111111111111111111111111111111
1111111111111111221111111111111111
11111111111111111111111111111111111
11111111111111111111111111111111111
11111111111111111211111111111111111
89999999999999999999999999999999998
99999999999999999999999999...

result:

ok 20 lines