QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#689248#8235. Top Clusterucup-team5328WA 2243ms203656kbC++203.5kb2024-10-30 16:02:312024-10-30 16:02:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3852kb

input:

5 4
3 9 0 1 2
1 2 10
3 1 4
3 4 3
3 5 2
3 0
1 0
4 6
4 7

output:

1
0
3
4

result:

ok 4 number(s): "1 0 3 4"

Test #2:

score: -100
Wrong Answer
time: 2243ms
memory: 203656kb

input:

500000 500000
350828 420188 171646 209344 4 999941289 289054 79183 999948352 427544 160827 138994 192204 108365 99596 999987124 292578 2949 384841 269390 999920664 315611 163146 51795 265839 34188 999939494 145387 366234 86466 220368 357231 347706 332064 279036 173185 5901 217061 112848 37915 377359...

output:

0
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
500001
5000...

result:

wrong answer 2nd numbers differ - expected: '249999', found: '500001'