leetcode 412. Fizz Buzz
摘要:
vector fizzBuzz(int n) { vector ret; for (int i = 1; i <= n; i++) { bool three = i % 3 == 0; bool five = i % 5 == 0; if (three && five... 阅读全文
posted @ 2018-02-18 14:08 willaty 阅读(125) 评论(0) 推荐(0) 编辑