QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#61673#4830. Transfer of DutyLiyanx0 54ms11532kbC++14857b2022-11-14 15:48:022023-02-13 21:37:42

詳細信息

Test #1:

score: 100
Accepted
time: 54ms
memory: 11532kb

input:

start
5
10
14
10
12
10

output:

10
-1
14
-1
-1
8 3115374407425795975

input:

resume
8 3115374407425795975
6
14
277
12
10
277
12

output:

-1
-1
-1
277
0
12

result:

ok 

Test #2:

score: 100
Accepted
time: 53ms
memory: 11372kb

input:

start
1
1

output:

1
1 6116758753896579064

input:

resume
1 6116758753896579064
1
1

output:

0

result:

ok 

Test #3:

score: 100
Accepted
time: 52ms
memory: 11400kb

input:

start
1
1000000

output:

1000000
1000000 1383189352223709429

input:

resume
1000000 1383189352223709429
2
1
1000000

output:

-1
1

result:

ok 

Test #4:

score: 100
Accepted
time: 52ms
memory: 11336kb

input:

start
2
1
1

output:

1
0
0 0

input:

resume
0 0
2
1000000
1000000

output:

1000000
0

result:

ok 

Test #5:

score: 100
Accepted
time: 44ms
memory: 11384kb

input:

start
3
1
2
3

output:

1
-1
-1
0 6738223543178268222

input:

resume
0 6738223543178268222
2
4
5

output:

-1
-1

result:

ok 

Test #6:

score: 0
Stage 1: Program answer Runtime Error

input:

start
5
483440
800458
959493
679027
187008

output:


input:


output:


result: