QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#270161#853. Flat Organizationucup-team864#WA 15ms7884kbC++232.2kb2023-11-30 16:02:252023-11-30 16:02:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
5
0 1 0 6 11
0 0 1 6 12
2 0 0 7 12
0 0 0 0 4
0 0 0 0 0

output:

YES
2 10
4 5
1 4

result:

ok OK!

Test #2:

score: -100
Wrong Answer
time: 15ms
memory: 7884kb

input:

100
5
0 1 0 6 11
0 0 1 6 12
2 0 0 7 12
0 0 0 0 4
0 0 0 0 0
1
0
2
0 0
7 0
2
0 1000000000
0 0
3
0 0 5
6 0 0
0 7 0
3
0 4 6
0 0 0
0 1 0
3
0 4 0
0 0 0
6 3 0
3
0 0 0
10 0 6
3 0 0
3
0 1999999998 1999999999
0 0 1999999998
0 0 0
50
0 105800 801 1800 64800 0 259200 288801 72201 12801 125000 20001 28801 33800 ...

output:

YES
2 10
4 5
1 4
YES
0 0
YES
1 7
2 1
YES
1 1000000000
1 2
YES
0 0
YES
1 4
1 2
YES
1 3
3 2
YES
2 9
3 1
2 3
YES
1 1999999999
1 3
YES
3 602
34 39
11 47
4 33
YES
3 649
17 29
32 45
27 12
YES
5 1209
25 12
4 25
35 4
14 35
1 18
YES
3 844
14 21
1 41
3 8
YES
3 866
46 26
35 44
17 35
YES
4 1066
37 8
24 2
36 24
...

result:

wrong answer Test 3: Contestant claims to have a found a solution on a NO input