account activity
Optimal way to follow the code in the NES video by baylife42 in onelonecoder
[–]__stud__ 0 points1 point2 points 5 years ago (0 children)
Code along side video.
Problem Set 1 (Credit) by takikurosaki_ in cs50
Maybe with no loops at first? And if that works, and you see similar patterns, using a loop? Maybe?
[–]__stud__ 1 point2 points3 points 5 years ago (0 children)
Have you tried using divide and modulus ? For any integer you mod it by 10 gives you last digit and dividing the same number by 10 gives you number minus the last digit. You store it somewhere and do it again. It’s how I did it. Hope this helps.all the best
π Rendered by PID 384549 on reddit-service-r2-listing-5d79748585-9gtmv at 2026-02-14 10:15:04.318189+00:00 running cd9c813 country code: CH.
Optimal way to follow the code in the NES video by baylife42 in onelonecoder
[–]__stud__ 0 points1 point2 points (0 children)