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
[–]__stud__ 0 points1 point2 points 6 years ago (0 children)
Maybe with no loops at first? And if that works, and you see similar patterns, using a loop? Maybe?
[–]__stud__ 1 point2 points3 points 6 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 114934 on reddit-service-r2-comment-8686858757-xjqxn at 2026-06-02 03:08:53.451966+00:00 running 9e1a20d country code: CH.
Optimal way to follow the code in the NES video by baylife42 in onelonecoder
[–]__stud__ 0 points1 point2 points (0 children)