Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
147354 Microsoft 逆序数 C++ Accepted 100 0 MS 252 KB 222 2024-05-18 14:48:15

Tests(4/4):


#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; string str = to_string(n); for(int i = str.length() - 1; i >= 0; i--){ cout << str[i]; } return 0; }


Judgement Protocol: