摘要: size_t fuck(size_t n){ double index = 1.0; size_t result = 0; while (true) { auto count = n / static_cast(pow(5.0, index)); if(... 阅读全文
posted @ 2015-07-15 22:43 wu_overflow 阅读(164) 评论(0) 推荐(0) 编辑
摘要: bool isWeNeeded(size_t i){ auto str = to_string(i); size_t count = 0; for(const auto &ch : str){ count += static_cast(ch) % 2; } return (count... 阅读全文
posted @ 2015-07-15 21:00 wu_overflow 阅读(145) 评论(0) 推荐(0) 编辑
摘要: void guessNumber(){ uniform_int_distribution creator1To100(1, 100); default_random_engine engin; auto answer = creator1To100(engin); un... 阅读全文
posted @ 2015-07-15 16:47 wu_overflow 阅读(638) 评论(0) 推荐(0) 编辑