QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295327#4830. Transfer of Dutyucup-team2045#0 827ms97524kbC++141.7kb2023-12-31 02:43:252023-12-31 02:43:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 537ms
memory: 97328kb

input:

start
5
10
14
10
12
10

output:

10
-1
14
-1
-1
40610440503983402698295503952

input:

resume
40610440503983402698295503952
6
14
277
12
10
277
12

output:

-1
-1
-1
277
0
12

result:

ok 

Test #2:

score: 100
Accepted
time: 539ms
memory: 97524kb

input:

start
1
1

output:

1
15173734131374123577103254822

input:

resume
15173734131374123577103254822
1
1

output:

0

result:

ok 

Test #3:

score: 100
Accepted
time: 556ms
memory: 97308kb

input:

start
1
1000000

output:

1000000
63032982064509505424997952946

input:

resume
63032982064509505424997952946
2
1
1000000

output:

-1
1

result:

ok 

Test #4:

score: 0
Wrong Answer
time: 827ms
memory: 97288kb

input:

start
2
1
1

output:

1
0


input:

resume

2
1000000
1000000

output:

-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
...

result:

wrong answer