QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#668939#9248. An Easy Math ProblemGuanYunchangWA 3ms3620kbC++174.3kb2024-10-23 16:40:352024-10-23 16:40:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

10
1
2
3
4
5
6
7
8
9
10

output:

1
2
2
3
2
5
2
4
3
5

result:

ok 10 lines

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3620kb

input:

2000
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
6469693230
646969323...

output:

1
2
2
3
2
5
2
4
3
5
2
8
2
5
5
5
2
8
2
8
5
5
2
11
3
5
4
8
2
14
2
6
5
5
5
13
2
5
5
11
2
14
2
8
8
5
2
14
3
8
5
8
2
11
5
11
5
5
2
23
2
5
8
7
5
14
2
8
5
14
2
18
2
5
8
8
5
14
2
14
5
5
2
23
5
5
5
11
2
23
5
8
5
5
5
17
2
8
8
13
2
14
2
11
14
5
2
18
2
14
5
14
2
14
5
8
8
5
5
32
3
5
5
8
4
23
2
8
5
14
2
23
5
5
11...

result:

wrong answer 1st lines differ - expected: '29525', found: '1'