QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#660943#9248. An Easy Math Problemucup-team3340#TL 0ms3456kbC++20842b2024-10-20 14:00:272024-10-20 14:00:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
Time Limit Exceeded

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:

6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
6063
...

result: