Did it by hand (or at least I think I did), but I wonder if taking the time to write out code and executing it would have been quicker. naturally for loops tend to be wasteful, but there are ways to optimize it using the rules.
RE: [Question] Mathematics × Programming Competition #5 [問題] 數學 × 程式編寫比賽 (第五回)
You are viewing a single comment's thread from:
[Question] Mathematics × Programming Competition #5 [問題] 數學 × 程式編寫比賽 (第五回)
Same. I solved it manually in a few minutes. This question is not challenging at all.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
wow that's really quick!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit