![](/style/images/good.png)
![](/style/images/bad.png)
Problem 288 - Langtons Ant
source link: https://www.codeabbey.com/index/forum_topic/c6bdb9c8c233f6ca03a9aa0e9ad64439
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Problem 288 - Langtons Ant |
Back to General discussions forum
Hello Experts,
My code takes forever to run even though I used pypy3 :-) The code works quite fast for small numbers (less than 10^8)but not for larger numbers. I submitted a wrong answer to submit the code for you guys to inspect. Can you guys please suggest a different approach?
Cheers, Sam.
Perhaps some sort of an online encyclopedia would be useful in suggesting a way not to iterate for every, um, iteration?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK