Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141157 何兴驰 回文数 C++ Compile Error 0 MS 0 KB 207 2025-12-21 12:09:25

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,r=0,a; cin>>n; a=n; while(a!=0){ r=r*10+a%10; a=a/10; } if(z==n){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:11:5: error: 'z' was not declared in this scope
  if(z==n){
     ^