Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I believe there is a forever loop in one of the test cases. Specifically the case:
On line 7 reg b gets its initial value of -9 from reg a. On line 10 it is decremented to -10. It is then decremented 8 more times. When I get to line 24 reg b is -18 so it has me go back 2 where it has me decrement it again to -19. By the time it overflows the Int32 to get back to 0 it has timed out.
Did I miss anything?
I like how you combined both the encode and decode into one method. Very clean. Nicely done!
Something is wrong. When I run my solution in Visual Studio it takes 12,000 ticks. 1 millisecond = 1000 ticks. Why does it take more than 12,000 milliseconds (12,000,000 ticks) to run the same code here? I believe I have a solution but it times out. This is frustrating.