Adum says his code runs about 10% faster on the Warmup. So, I think 17190 ( = 19100 * 0.9 ) can be a good aim.tog wrote:How small has it really got to be?
Flash Flood
I was still failing Flash Flood with a warmup count of 17085. I made an optimisation, though, and got my warmup count down to 16666, and finally passed Flash Flood.
I was tempted to set up a search process to work out exactly what the board looks like, but that would be abuse.
You do still get a descriptive error message if you fail to flood correctly. Maybe adum changed it back?
I'd also like to suggest maybe a version with the same map and same 19100 cycle limit, but a maximum program size of 128 instructions...
I was tempted to set up a search process to work out exactly what the board looks like, but that would be abuse.
You do still get a descriptive error message if you fail to flood correctly. Maybe adum changed it back?
I'd also like to suggest maybe a version with the same map and same 19100 cycle limit, but a maximum program size of 128 instructions...
-
- Posts: 61
- Joined: Wed Apr 30, 2008 3:31 am
As I understand now if you run out of cycles then python HVM throws exception and it is treated as any other exceptions with message "failed to run correctly". To show a different message hackvm.py should have exception handler for max-cycles and that would be overkill . After all, "user friendly" is not in hacker dictionary, it would be hard to put it in design specs.
And I am not yet passed Warmup stage...
And I am not yet passed Warmup stage...
hey, 14413 cycles for the warm uphomeas wrote:it wouldn't be bad to post at least the cycles for those programs, that manage this test map. My behemoth program with 480 ops needs 14855 cycles for the warm up map which was apparently good enought for this job -- but it needs over 22700 for a complete empty map (this could be further improved).
but the Tsunami challenge is really crazy
how many cycles for warm up will be ok for Tsunami?
EDIT: totally no idea for Aazhi Peralai challenge