QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#49856#1968. Science FictionHuangHanShengRE 4ms10936kbC++171.1kb2022-09-23 17:04:342022-09-23 17:04:34

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 10932kb

input:

2
3 2 10 4

output:

2
1 0
3 2

result:

ok nice! 2 moves

Test #2:

score: 0
Accepted
time: 2ms
memory: 10916kb

input:

1
10 100

output:

0

result:

ok nice! 0 moves

Test #3:

score: 0
Accepted
time: 4ms
memory: 10856kb

input:

1
824838 992401

output:

0

result:

ok nice! 0 moves

Test #4:

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

input:

2
208395 17211 250690 874014

output:

1
1 0

result:

ok nice! 1 moves

Test #5:

score: -100
Runtime Error

input:

8
991318 655714 983340 496226 752852 888298 572661 729100 426124 437775 8096 28612 303846 295897 970760 179029 702449 407420 945406 352294 960516 484993 724888 495235 156841 451864 95506 869159 61631 296168 279240 260130 901551 726353 298872 221580 982372 394731 720187 656498 595457 381795 759187 36...

output:


result: