QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609417#9427. Collect the CoinsZhaoZiLongWA 0ms3692kbC++171.7kb2024-10-04 12:51:142024-10-04 12:51:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3692kb

input:

3
5
1 1
3 7
3 4
4 3
5 10
1
10 100
3
10 100
10 1000
10 10000

output:

1 1 2
1 2 3
1 3 693
1 4 297
1 5 294
2 1 1089
2 2 303
2 3 1089
2 4 301
2 5 891
693
1 1 50982
1 2 50982
1 3 50982
0
1 1 50982
1 2 50982
1 3 50982
0

result:

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