QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#430010#3761. 2020ZhaoZiLongAC ✓11ms3724kbC++208.4kb2024-06-03 10:40:152024-06-03 10:40:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 3724kb

input:

4
2020
6
202020
10
1202012020
10
2222220000
10
0221200202
10
2202021022
10
0200222200
10
2222022122
10
2122222220
10
2200200002
10
2022222222
10
0000020220
10
0220022200
10
2020012000
10
0020020022
10
2220000020
10
0100220202
10
2202021022
10
0220222022
10
0220020000
10
0200000002
10
0202020002
10
2...

output:

1
1
2
0
0
1
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
1
0
1
1
1
0
1
0
0
0
0
0
1
0
0
1
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
1
2
0
1
1
0
0
0
0
1
1
0
1
1
0
0
0
1
0
0
1
0
1
0
1
1
0
0
1
1
0
0
0
1
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
2
1
...

result:

ok 11116 lines