| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79190 | 刘泽熙 | 回文数 | C++ | Wrong Answer | 0 MS | 276 KB | 250 | 2024-06-30 15:04:33 |
#include <bits/stdc++.h> using namespace std; int main() { int n, a=n; cin >> n; while (n % 10 == 0) { n /= 10; } while (n != 0) { cout << n % 10; n /= 10; } if (a = n) { cout << "YES"; }else{ cout<<"NO"; } }
------Input------
4503
------Answer-----
NO
------Your output-----
3054NO