spoj 17943. Mickey Mouse Magic Trick v3,, v4 | MMMAGIC3, MMMAGIC4

i couldn’t solve this question 😦

but i tried to implement the brute force, which luckily passed, but there are solutions which aren’t brute force. 😦

https://gist.github.com/a043971eff18e4491221

Advertisements

5 thoughts on “spoj 17943. Mickey Mouse Magic Trick v3,, v4 | MMMAGIC3, MMMAGIC4

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s