QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#141831#6995. Moving OnsdoiAC ✓579ms4316kbC++231.8kb2023-08-18 02:43:512023-08-18 02:43:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
3 6
1 2 3
0 1 3
1 0 1
3 1 0
1 1 1
1 2 1
1 3 1
1 1 2
1 2 2
1 3 2

output:

Case #1:
0
1
3
0
1
2

result:

ok 8 tokens

Test #2:

score: 0
Accepted
time: 579ms
memory: 4316kb

input:

50
195 19034
11 94 57 66 65 84 55 59 76 31 57 10 88 41 34 61 40 22 40 53 5 35 64 100 77 74 16 92 17 68 22 86 95 55 99 10 35 37 9 7 14 75 19 69 27 64 22 21 62 83 74 19 50 61 42 26 67 19 20 73 95 98 81 39 93 13 63 47 68 37 39 73 80 83 76 19 10 27 74 24 97 3 2 27 50 96 37 77 67 20 81 35 24 68 70 27 21 ...

output:

Case #1:
90188
90734
90911
91955
90188
93595
90205
90151
90101
90305
90837
254
90218
90953
90701
164
90187
90074
455
90391
90241
90148
288
495
90268
90383
90146
91146
90181
90198
94346
528
60
90186
90990
90220
90515
90353
90271
90298
245
90377
90140
90940
28
90125
90334
90154
90239
90856
90649
90407...

result:

ok 971923 tokens