QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#486523#8892. Power Gridegypt_ioi2024b_04#8 2945ms7704kbC++201.4kb2024-07-21 20:55:472024-07-21 20:55:48

详细

Subtask #1:

score: 8
Accepted

Test #1:

score: 8
Accepted
time: 1ms
memory: 5664kb

input:

1 1
0

output:

-5 

result:

ok correct

Test #2:

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

input:

1 1
0

output:

-5 

result:

ok correct

Test #3:

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

input:

1 2
1 1

output:

-1 -1 

result:

ok correct

Test #4:

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

input:

3 1
0
3
1

output:

-2 
1 
-1 

result:

ok correct

Test #5:

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

input:

2 2
1 1
1 1

output:

-5 -5 
-4 -4 

result:

ok correct

Test #6:

score: 0
Accepted
time: 54ms
memory: 5740kb

input:

3 3
2 1 1
2 1 1
0 1 3

output:

-5 -5 -3 
-5 -4 -4 
-5 -5 -5 

result:

ok correct

Test #7:

score: 0
Accepted
time: 32ms
memory: 5800kb

input:

3 3
0 1 0
2 1 2
1 2 1

output:

-5 -5 -4 
-4 -3 -5 
-5 -5 -5 

result:

ok correct

Test #8:

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

input:

3 3
0 0 2
2 2 0
0 0 2

output:

-5 -5 -5 
-5 -5 -3 
-5 -5 -5 

result:

ok correct

Test #9:

score: 0
Accepted
time: 88ms
memory: 5668kb

input:

3 3
3 1 2
3 1 2
3 1 2

output:

-5 -5 -2 
-5 -4 -3 
-5 -2 -5 

result:

ok correct

Test #10:

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

input:

3 3
3 3 3
0 0 0
3 3 3

output:

-5 -5 -5 
-5 -5 -2 
-2 -2 -5 

result:

ok correct

Subtask #2:

score: 0
Time Limit Exceeded

Dependency #1:

100%
Accepted

Test #11:

score: 5
Accepted
time: 10ms
memory: 5736kb

input:

1 6
1 0 3 1 3 0

output:

-1 0 -3 1 3 0 

result:

ok correct

Test #12:

score: 0
Accepted
time: 9ms
memory: 5812kb

input:

6 1
2
1
1
1
5
0

output:

-2 
-1 
-1 
-1 
5 
0 

result:

ok correct

Test #13:

score: -5
Time Limit Exceeded

input:

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

output:


result:


Subtask #3:

score: 0
Time Limit Exceeded

Test #23:

score: 11
Accepted
time: 1ms
memory: 5748kb

input:

1 1
0

output:

-5 

result:

ok correct

Test #24:

score: -11
Time Limit Exceeded

input:

1 10
230 289 918 752 224 184 573 217 398 715

output:


result:


Subtask #4:

score: 0
Time Limit Exceeded

Test #30:

score: 6
Accepted
time: 1ms
memory: 5672kb

input:

2 2
0 0
0 0

output:

-5 -5 
-5 -5 

result:

ok correct

Test #31:

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

input:

2 2
7 7
7 7

output:

-5 -5 
2 2 

result:

ok correct

Test #32:

score: 0
Accepted
time: 8ms
memory: 5796kb

input:

2 4
7 7 7 7
7 7 7 7

output:

-5 -5 -2 -2 
-2 -2 -5 -5 

result:

ok correct

Test #33:

score: -6
Time Limit Exceeded

input:

20 40
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80
80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...

output:


result:


Subtask #5:

score: 0
Wrong Answer

Test #46:

score: 0
Wrong Answer
time: 2945ms
memory: 5668kb

input:

2 4
253 431 207 483
243 65 289 13

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #6:

score: 0
Time Limit Exceeded

Test #58:

score: 0
Time Limit Exceeded

input:

1000 1000
1 0 0 1 0 1 0 1 0 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 0 1 1 0 1 1 1 0 0 1 1 0 0 0 1 1 0 1 1 0 1 1 1 0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 0 0 0 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 1 1 0 1 1 0 0 0 0 1 1 0 1 1 ...

output:


result:


Subtask #7:

score: 0
Wrong Answer

Test #68:

score: 0
Wrong Answer
time: 1ms
memory: 5664kb

input:

2 2
5 52
52 5

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #8:

score: 0
Skipped

Dependency #2:

0%

Subtask #9:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%