摘要:
static const auto _____ = []() { ios::sync_with_stdio(false); cin.tie(nullptr); return nullptr; }(); class Solution { public: bool isPalindrome(int x) { if(x<0) r... 阅读全文
摘要:
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; ... 阅读全文
摘要:
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 =... 阅读全文