QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#466022#3978. Firing the Phaserucup-team1005#TL 21ms4364kbC++204.9kb2024-07-07 14:52:102024-07-07 14:52:10

詳細信息

Test #1:

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

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

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

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

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: 21ms
memory: 4240kb

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

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

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

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: -100
Time Limit Exceeded

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:


result: