摘要: static const auto _____ = []() { ios::sync_with_stdio(false); cin.tie(nullptr); return nullptr; }(); class Solution { public: bool isPalindrome(int x) { if(x<0) r... 阅读全文
posted @ 2018-09-13 11:41 一只狐狸scse 阅读(62) 评论(0) 推荐(0) 编辑
摘要: static auto io_sync_off = [](){ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); return nullptr; }(); class Solution { public: int reverse(int x) { long result = 0; ... 阅读全文
posted @ 2018-09-13 09:54 一只狐狸scse 阅读(82) 评论(0) 推荐(0) 编辑
摘要: string convert(string s, int numRows) { if(numRows == 1){ return s; } int count = 0; int num = 0; string temp = ""; while(num != s.size()){ for (int i = 0; i =... 阅读全文
posted @ 2018-09-13 09:27 一只狐狸scse 阅读(106) 评论(0) 推荐(0) 编辑