try { try { for(int a=-1;a<2;++a) { try { for(int b=-1;b<2;++b) { try { for(int c=-1;c<2;++c) { try { printf("%d %d %d\n",a,b,c); throw int(a+b+c); } catch(int e) { if(e>0) { throw int(e-1); } else if(e<-1) { throw int(e+1); } } } } catch(int e) { if(e>0) { throw int(e-1); } else if(e<-1) { throw int(e+1); } } } } catch(int e) { if(e>0) { throw int(e-1); } else if(e<-1) { throw int(e+1); } } } } catch(int e) { if(e>0) { throw int(e-1); } else if(e<-1) { throw int(e+1); } } } catch(...) { }
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
And the following isn't real code (like in the last post), but it is UGLY.
Previous Entry
Any Suggestions?
Next Entry
Behold!
Advertisement
Latest Entries
Music To My Ears
1880 views
Getting There...
2100 views
Guess Chess
2003 views
iPhone JetLag
1965 views
iPhone JetLag
1793 views
JetLag on the iPhone
1793 views
JetLag on the iPhone
1362 views
JetLag on the iPhone
1562 views
A New Era Has Dawned
1425 views
Need Playtesters for HamQuest
1610 views
Advertisement