#17556: c++ NA (67%)


rexwu1104@gmail.com (黑雪公主 Black Lotus)


#include<iostream>
#include<iomanip>
using namespace std;
int main() {
  long long int a;
  while (cin >> a) {
    long long int b, c=0, e=0, d[e], f=10;
    if (a%10==0) {
      while (!(a%10)) {
        a /= 10;
      }
    }
    while (a/(f/10)) {
      d[e] = a % f / (f/10);
      cout << d[e];
      e++;
      f *= 10;
      c = e;
    }
    cout << "\n";
  }
  return 0;
}
第二個測資,他說逾時。