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

Правка en1, от 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:

Теги ioi, wcipeg, help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский LaKsHiTh_ 2020-06-08 13:44:22 934 Initial revision (published)