QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#466094#3978. Firing the Phaserucup-team1005WA 2107ms4368kbC++205.7kb2024-07-07 15:48:232024-07-07 15:48:25

详细

Test #1:

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

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: 0ms
memory: 4208kb

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: 0ms
memory: 4368kb

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: 4104kb

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: 4304kb

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: 0ms
memory: 4104kb

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: 4180kb

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: 0ms
memory: 4236kb

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: 2107ms
memory: 4180kb

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: 1840ms
memory: 4180kb

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: 1ms
memory: 4104kb

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: -100
Wrong Answer
time: 1ms
memory: 4212kb

input:

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

output:

2

result:

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