QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#486539#8892. Power Gridegypt_ioi2024b_04#8 4309ms5760kbC++201.4kb2024-07-21 21:06:442024-07-21 21:06:46

詳細信息

Subtask #1:

score: 8
Accepted

Test #1:

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

input:

1 1
0

output:

-3 

result:

ok correct

Test #2:

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

input:

1 1
0

output:

-3 

result:

ok correct

Test #3:

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

input:

1 2
1 1

output:

-1 -1 

result:

ok correct

Test #4:

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

input:

3 1
0
3
1

output:

-2 
1 
-1 

result:

ok correct

Test #5:

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

input:

2 2
1 1
1 1

output:

-3 -3 
-2 -2 

result:

ok correct

Test #6:

score: 0
Accepted
time: 5ms
memory: 5596kb

input:

3 3
2 1 1
2 1 1
0 1 3

output:

-3 -3 -1 
-3 -2 -2 
-3 -3 -3 

result:

ok correct

Test #7:

score: 0
Accepted
time: 3ms
memory: 5624kb

input:

3 3
0 1 0
2 1 2
1 2 1

output:

-3 -3 -2 
-2 -1 -3 
-3 -3 -3 

result:

ok correct

Test #8:

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

input:

3 3
0 0 2
2 2 0
0 0 2

output:

-3 -3 -3 
-3 -3 -1 
-3 -3 -3 

result:

ok correct

Test #9:

score: 0
Accepted
time: 6ms
memory: 5760kb

input:

3 3
3 1 2
3 1 2
3 1 2

output:

-3 -3 0 
-3 -2 -1 
-3 0 -3 

result:

ok correct

Test #10:

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

input:

3 3
3 3 3
0 0 0
3 3 3

output:

-3 -3 -3 
-3 -3 0 
0 0 -3 

result:

ok correct

Subtask #2:

score: 0
Time Limit Exceeded

Dependency #1:

100%
Accepted

Test #11:

score: 5
Accepted
time: 0ms
memory: 5616kb

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: 2ms
memory: 5708kb

input:

6 1
2
1
1
1
5
0

output:

0 
-1 
-1 
-1 
3 
-2 

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
Wrong Answer

Test #23:

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

input:

1 1
0

output:

-3 

result:

ok correct

Test #24:

score: -11
Wrong Answer
time: 4309ms
memory: 5700kb

input:

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

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #4:

score: 0
Wrong Answer

Test #30:

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

input:

2 2
0 0
0 0

output:

-3 -3 
-3 -3 

result:

ok correct

Test #31:

score: -6
Wrong Answer
time: 1ms
memory: 5608kb

input:

2 2
7 7
7 7

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #5:

score: 0
Wrong Answer

Test #46:

score: 0
Wrong Answer
time: 79ms
memory: 5616kb

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

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%