QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#679524#1076. Flooding FieldsyellowbirdAC ✓15ms10568kbPython3204b2024-10-26 17:47:292024-10-26 17:48:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 15ms
memory: 10568kb

input:

3 1 3
2 1 2
3 1 3
2 4 2
1 1
0
2
1
2 4 2
0 1
1 2
0 0
0 1
1 1
1 0
1
0
50 50 24
5 20 21 3 2 9 22 15 19 22 18 14 19 14 15 4 22 22 7 12 7 2 2 0 25 0 7 6 4 3 2 17 1 12 7 12 1 19 12 3 23 5 5 10 22 15 17 3 13 4
10 21 7 12 10 22 23 18 17 5 17 18 2 14 12 13 13 19 19 18 8 11 3 0 24 0 6 1 9 12 14 13 20 22 5 13 ...

output:

1
1
1
2
2
2
0
92
99
71

result:

ok 10 lines