You are viewing a single comment's thread from:

RE: [Question] Mathematics × Programming Competition #5 [問題] 數學 × 程式編寫比賽 (第五回)

in #contest7 years ago (edited)

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.

Sort:  

Same. I solved it manually in a few minutes. This question is not challenging at all.

wow that's really quick!