QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#824654#9770. Middle Pointucup-team5323#WA 1ms3696kbC++141.0kb2024-12-21 15:07:412024-12-21 15:07:43

详细

Test #1:

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

input:

2 2
1 1

output:

1
0 0 2 2

result:

ok correct!

Test #2:

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

input:

8 8
5 0

output:

3
0 0 8 0
4 0 0 0
2 0 8 0

result:

ok correct!

Test #3:

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

input:

0 0
0 0

output:

0

result:

ok correct!

Test #4:

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

input:

2024 0
1012 0

output:

1
0 0 2024 0

result:

ok correct!

Test #5:

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

input:

2024 2024
2023 2023

output:

-1

result:

ok correct!

Test #6:

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

input:

8 6
7 3

output:

3
0 0 8 0
4 0 8 0
6 0 8 6

result:

ok correct!

Test #7:

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

input:

2024 2026
2024 2026

output:

0

result:

ok correct!

Test #8:

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

input:

1000000000 1000000000
70 0

output:

-1

result:

ok correct!

Test #9:

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

input:

3 6
2 4

output:

-1

result:

ok correct!

Test #10:

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

input:

7 7
7 2

output:

-1

result:

ok correct!

Test #11:

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

input:

6 2
5 2

output:

-1

result:

ok correct!

Test #12:

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

input:

5 7
5 5

output:

-1

result:

ok correct!

Test #13:

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

input:

4 7
2 3

output:

-1

result:

ok correct!

Test #14:

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

input:

8 2
2 2

output:

2
0 2 8 2
4 2 0 2

result:

ok correct!

Test #15:

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

input:

3 3
0 2

output:

-1

result:

ok correct!

Test #16:

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

input:

7 7
1 4

output:

-1

result:

ok correct!

Test #17:

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

input:

6 3
6 1

output:

-1

result:

ok correct!

Test #18:

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

input:

4 2
2 1

output:

1
0 0 4 2

result:

ok correct!

Test #19:

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

input:

7 2
3 2

output:

-1

result:

ok correct!

Test #20:

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

input:

2 7
0 3

output:

-1

result:

ok correct!

Test #21:

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

input:

1 7
1 0

output:

0

result:

ok correct!

Test #22:

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

input:

5 1
0 0

output:

0

result:

ok correct!

Test #23:

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

input:

8 7
4 3

output:

-1

result:

ok correct!

Test #24:

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

input:

180057652 674822131
110693180 428023738

output:

-1

result:

ok correct!

Test #25:

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

input:

62347541 812142018
42922107 486416913

output:

-1

result:

ok correct!

Test #26:

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

input:

239604722 244429197
78993837 108804105

output:

-1

result:

ok correct!

Test #27:

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

input:

416861903 381749084
375027630 373683256

output:

-1

result:

ok correct!

Test #28:

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

input:

594119084 519068971
429116021 298715088

output:

-1

result:

ok correct!

Test #29:

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

input:

536870912 536870912
233225286 372408647

output:

29
0 0 0 536870912
0 268435456 536870912 536870912
268435456 402653184 536870912 536870912
402653184 469762048 0 0
201326592 234881024 0 0
100663296 117440512 0 0
50331648 58720256 536870912 536870912
293601280 297795584 0 0
146800640 148897792 0 536870912
73400320 342884352 0 0
36700160 171442176 5...

result:

ok correct!

Test #30:

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

input:

536870912 536870912
242171716 210314503

output:

29
0 0 0 536870912
0 268435456 0 536870912
0 402653184 536870912 536870912
268435456 469762048 0 0
134217728 234881024 0 0
67108864 117440512 0 0
33554432 58720256 536870912 0
285212672 29360128 0 0
142606336 14680064 536870912 536870912
339738624 275775488 536870912 0
438304768 137887744 536870912 ...

result:

ok correct!

Test #31:

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

input:

536870912 536870912
251118145 48220392

output:

29
0 0 536870912 0
268435456 0 0 0
134217728 0 0 0
67108864 0 0 0
33554432 0 0 536870912
16777216 268435456 0 0
8388608 134217728 536870912 536870912
272629760 335544320 0 536870912
136314880 436207616 0 536870912
68157440 486539264 536870912 0
302514176 243269632 0 0
151257088 121634816 0 0
7562854...

result:

wrong answer target point have not been added into S