QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#466060#3978. Firing the Phaserucup-team1005WA 2090ms4372kbC++205.1kb2024-07-07 15:24:312024-07-07 15:24:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 8
2 1 4 5
5 1 12 4
5 5 9 10
1 6 4 10
2 11 7 14

output:

4

result:

ok single line: '4'

Test #2:

score: 0
Accepted
time: 1ms
memory: 4104kb

input:

3 6
2 2 3 3
5 3 6 4
6 6 7 7

output:

3

result:

ok single line: '3'

Test #3:

score: 0
Accepted
time: 1ms
memory: 4160kb

input:

4 4
0 0 2 2
0 3 2 4
3 1 5 4
2 5 3 6

output:

3

result:

ok single line: '3'

Test #4:

score: 0
Accepted
time: 1ms
memory: 4368kb

input:

4 2
0 0 2 2
0 3 2 4
3 1 5 4
2 5 3 6

output:

2

result:

ok single line: '2'

Test #5:

score: 0
Accepted
time: 13ms
memory: 4308kb

input:

9 1
0 0 1 1
0 2 1 3
0 4 1 5
2 0 3 1
2 2 3 3
2 4 3 5
4 0 5 1
4 2 5 3
4 4 5 5

output:

2

result:

ok single line: '2'

Test #6:

score: 0
Accepted
time: 1ms
memory: 4296kb

input:

3 6
0 0 100 100
101 0 1000 1000
96 103 98 107

output:

3

result:

ok single line: '3'

Test #7:

score: 0
Accepted
time: 0ms
memory: 4320kb

input:

10 79
0 0 1 100
2 0 100 1
3 70 5 72
6 2 7 100
8 2 9 100
10 2 11 100
12 2 13 100
14 2 15 100
16 2 17 100
18 2 19 100

output:

10

result:

ok single line: '10'

Test #8:

score: 0
Accepted
time: 1ms
memory: 4372kb

input:

10 923
0 0 1 1000
2 0 1000 1
3 900 5 901
6 2 7 1000
8 2 9 1000
10 2 11 1000
12 2 13 1000
14 2 15 1000
16 2 17 1000
18 2 19 1000

output:

10

result:

ok single line: '10'

Test #9:

score: 0
Accepted
time: 2090ms
memory: 4224kb

input:

15 79
0 0 1 100
2 0 100 1
3 70 5 72
6 2 7 100
8 2 9 100
10 2 11 100
12 2 13 100
200 200 201 201
300 300 301 301
400 400 401 401
500 500 501 501
600 600 601 601
700 700 701 701
800 800 801 801
900 900 901 901

output:

7

result:

ok single line: '7'

Test #10:

score: 0
Accepted
time: 1829ms
memory: 4216kb

input:

15 79
0 0 1 100
2 0 100 1
3 70 5 72
6 2 7 100
10 2 11 100
16 2 17 100
18 2 19 100
202 198 203 199
202 200 203 201
202 202 203 203
202 204 203 205
204 204 205 205
204 206 205 207
206 200 207 201
206 206 207 207

output:

7

result:

ok single line: '7'

Test #11:

score: 0
Accepted
time: 0ms
memory: 4076kb

input:

5 81
20 30 33 55
27 64 86 96
22 1 79 4
42 28 43 41
68 17 76 48

output:

4

result:

ok single line: '4'

Test #12:

score: 0
Accepted
time: 1ms
memory: 4204kb

input:

5 20
27 11 78 82
84 19 91 33
2 22 24 54
91 61 100 86
8 66 15 83

output:

3

result:

ok single line: '3'

Test #13:

score: 0
Accepted
time: 1ms
memory: 4296kb

input:

4 53
26 18 64 78
64 86 87 95
85 15 96 17
67 45 81 75

output:

3

result:

ok single line: '3'

Test #14:

score: -100
Wrong Answer
time: 0ms
memory: 4304kb

input:

5 12
7 48 33 96
65 0 83 57
4 19 51 36
49 86 52 100
97 26 100 68

output:

3

result:

wrong answer 1st lines differ - expected: '2', found: '3'