| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78176 | 石晋骁 | 15反转数字 | C++ | Wrong Answer | 1 MS | 280 KB | 200 | 2024-06-16 15:37:09 |
#include <bits/stdc++.h> using namespace std; int main (){ int sum = 0; int n; cin >> n; while(n != 0){ if(n%10 != 0){ cout << n%10; } n = n/10; } return 0; }
------Input------
8012
------Answer-----
2108
------Your output-----
218