QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#865369#7721. Flow Problemucup-team4744WA 164ms3968kbC++233.1kb2025-01-21 17:09:522025-01-21 17:09:52

详细

Test #1:

score: 100
Accepted
time: 160ms
memory: 3840kb

input:

0 5
no
0 4
no
0 10
no
0 0
yes
1 2
no
0 19
no
1 19
no
1 19
yes

output:

wait 1
wait 1034
wait 10
left
wait 338
switch
wait 0
right

result:

ok OK

Test #2:

score: 0
Accepted
time: 164ms
memory: 3968kb

input:

1 0
no
1 1
no
1 1
no
0 1
no
0 0
yes
1 0
no
1 1
no
1 1
yes

output:

wait 1
wait 1028
switch
wait 1
left
wait 257
wait 0
right

result:

ok OK

Test #3:

score: 0
Accepted
time: 161ms
memory: 3712kb

input:

0 0
no
1 0
no
1 1
no
0 1
no
0 0
yes
0 0
no
1 1
no
1 1
yes

output:

wait 1
wait 1029
switch
wait 1
left
wait 258
wait 0
right

result:

ok OK

Test #4:

score: 0
Accepted
time: 164ms
memory: 3840kb

input:

1 2
no
1 1
no
1 2
no
1 0
yes
0 0
no
1 1
no
0 1
no
0 2
yes

output:

wait 1
wait 1031
wait 2
left
wait 172
switch
wait 1
right

result:

ok OK

Test #5:

score: 0
Accepted
time: 160ms
memory: 3968kb

input:

1 0
no
0 0
no
1 2
no
1 0
yes
1 2
no
1 1
no
0 1
no
0 2
yes

output:

wait 1
wait 1029
wait 2
left
wait 175
switch
wait 1
right

result:

ok OK

Test #6:

score: 0
Accepted
time: 159ms
memory: 3712kb

input:

1 2
no
1 1
no
1 2
no
1 0
yes
0 2
no
1 3
no
0 3
no
0 3
yes

output:

wait 1
wait 1031
wait 2
left
wait 170
switch
wait 0
right

result:

ok OK

Test #7:

score: 0
Accepted
time: 161ms
memory: 3840kb

input:

1 3
no
0 3
no
0 2
no
0 0
yes
1 3
no
0 3
no
1 3
no
1 3
yes

output:

wait 1
wait 1033
wait 2
left
wait 169
switch
wait 0
right

result:

ok OK

Test #8:

score: 0
Accepted
time: 158ms
memory: 3968kb

input:

0 0
no
0 1
no
1 0
no
1 0
yes
1 2
no
0 3
no
0 4
yes

output:

wait 1
wait 1028
wait 0
left
wait 106
wait 1
right

result:

ok OK

Test #9:

score: 0
Accepted
time: 160ms
memory: 3712kb

input:

1 0
no
1 1
no
0 0
no
0 0
yes
1 4
no
1 3
no
1 4
yes

output:

wait 1
wait 1028
wait 0
left
wait 99
wait 1
right

result:

ok OK

Test #10:

score: -100
Wrong Answer
time: 162ms
memory: 3712kb

input:

1 3
no
1 4
no
0 2
no
0 0
yes
0 1
no
1 4
no
0 0
no
0 1

output:

wait 1
wait 1025
wait 2
left
wait 174
wait 7
right

result:

wrong answer unexpected eof