Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135734 杨浩宇 2020 C++ Compile Error 0 MS 0 KB 173 2025-11-08 12:12:23

Tests(0/0):


Code:

include <iostream> using namespace std; int main(){ int a,b; cin>>a; b=a/100; a=a/100%100 if(a=b){ cout<<"YES"; } if(a!=b){ cout<<"NO"; } }


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include 
 ^
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
  cin>>a; 
  ^
Main.cc:8:2: error: expected ';' before 'if'
  if(a=b){
  ^
Main.cc:12:3: error: 'cout' was not declared in this scope
   cout<<"NO";
   ^