IOI 2012 Odometer. Getting WA on wcipeg.com [help]

Revision en1, by LaKsHiTh_, 2020-06-08 13:44:22

I tried the Pebbling odometer task of IOI 2012. I wrote an output for the subtask 1 and uploaded it to the wcipeg judge. But i got WA. Then i downloaded the input data and tried them manually. They gave the correct answer. Then i uploaded the official Solution given by ioinformatics.org. Still it's WA. Does anyone know why this happens.

My solution:

left
rr: 
pebble r
halt
ll:
pebble l
halt
r:
get
right
right
move
jump ll
l:
get
left
left
move
jump rr

Official Solution:

# Solution for subtask 1 of Odometer.

# Author: Giovanni Paolini

right

jump A

B:
	get
	move
	pebble C
	halt

C:
	get
	left
	left
	move
	right
	right

A:
	pebble B

Result:

Tags ioi, wcipeg, help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English LaKsHiTh_ 2020-06-08 13:44:22 934 Initial revision (published)