QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#61663#4830. Transfer of DutyZhaoZiLong0 12ms11580kbC++14727b2022-11-14 15:16:002023-02-13 21:37:26

详细

Test #1:

score: 100
Accepted
time: 8ms
memory: 11580kb

input:

start
5
10
14
10
12
10

output:

10
-1
14
-1
-1
8 4141969888

input:

resume
8 4141969888
6
14
277
12
10
277
12

output:

-1
-1
-1
277
0
12

result:

ok 

Test #2:

score: 100
Accepted
time: 12ms
memory: 11320kb

input:

start
1
1

output:

1
1 2579538026

input:

resume
1 2579538026
1
1

output:

0

result:

ok 

Test #3:

score: 100
Accepted
time: 3ms
memory: 11444kb

input:

start
1
1000000

output:

1000000
1000000 2531367958

input:

resume
1000000 2531367958
2
1
1000000

output:

-1
1

result:

ok 

Test #4:

score: 100
Accepted
time: 8ms
memory: 11340kb

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: 0
Wrong Answer on the first run

input:

start
3
1
2
3

output:

1
-1
0
0 852604642

input:


output:


result:

wrong answer wrong answer on the first run, query 3: read 0 but expected -1