Deluge

Post Reply
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Deluge

Post by tails »

In what format is the input image given?
And how the output should be expressed?
User avatar
m!nus
Posts: 202
Joined: Sat Jul 28, 2007 6:49 pm
Location: Germany

Post by m!nus »

And how are the dimensions of the image?
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

sorry, my challenge description got truncated. it should be fixed now.

cheers,
adum
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Post by tails »

Thank you! :D
User avatar
adum
Posts: 392
Joined: Thu Apr 19, 2007 12:49 pm
Contact:

Post by adum »

no worries, good luck on the challenge =)

let's see how few cycles you can do it in!

adum
kalunos
Posts: 7
Joined: Sat Jun 18, 2011 7:22 pm
Location: germany

Post by kalunos »

hi there,

tried this one with the hvm java tool provided here somewhere, much easier to manage the relative jumps there + comments possible ... thumbs up!

my solution:

... [edit: shouldn't been provided here, after-solve link took me here] ...

took 30335 cycles to solve the example figure..

happy c :lol: ding!
marinuso
Posts: 5
Joined: Thu Nov 25, 2010 10:06 am

Post by marinuso »

Is there some way I can get some diagnostics?

My solution correctly floods the given example, it correctly floods all of my own tests, and it floods the empty image (which should be the worst case for my algorithm) well within the cycle limit, but the challenge page just says "'failed to flood correctly' is incorrect".
User avatar
Hippo
Posts: 339
Joined: Sat Feb 01, 2014 12:05 am
Location: Praha 5

Post by Hippo »

code "!" returns 'failed to flood correctly' is incorrect. (finished with wrong result)
code "0c" returns 'is incorrect.' (cycle limit exceeded)
code "+" returns 'is incorrect.' (execution error)
intended answer returns 'is correct'. (finished with correct result)
Post Reply