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

You are viewing a single comment's thread from:

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

in contest •  7 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.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  7 years ago (edited)

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

wow that's really quick!