QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#345159#5188. 鬼街hyforcesWA 14ms12948kbC++202.1kb2024-03-06 11:46:062024-03-06 11:46:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 14ms
memory: 12720kb

input:

20 9
1 10 2
0 5 0
0 6 1
0 7 1
0 15 1
1 12 3
0 8 0
1 5 0
0 8 2

output:

0 
0 
0 
1 1 
0 
2 2 3 

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 14ms
memory: 12948kb

input:

5000 5000
1 308 2924116129
1 3201 931426424
1 4398 709387999
0 609 2256581248
0 1566 1777416018
1 4709 1171183682
0 3770 752123966
1 1896 3894906376
0 230 3761076141
1 1345 676968476
1 3116 342409501
0 4948 3143999592
1 2186 2376352094
1 3892 3478048443
0 2773 2100852395
1 2894 2317216575
0 3378 211...

output:

2 2 3 
1 1 
0 
1 5 
1 7 
0 
0 
1 9 
1 11 
1 4 
2 8 10 
0 
0 
2 6 17 
6 13 14 15 18 19 20 
0 
0 
0 
0 
2 16 22 
4 21 23 24 25 
0 
2 26 28 
2 27 29 
0 
1 30 
0 
0 
0 
1 31 
0 
0 
2 32 33 
0 
0 
0 
0 
0 
2 35 36 
0 
0 
1 37 
0 
0 
1 39 
0 
1 40 
0 
0 
0 
1 42 
1 43 
0 
2 34 45 
0 
0 
4 44 46 48 49 
2 5...

result:

wrong answer 4th lines differ - expected: '0', found: '1 5 '