Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70344 张黄源 07判断成绩 C++ Compile Error 0 MS 0 KB 159 2024-04-14 14:14:39

Tests(0/0):


Code:

#incluae<iostream> using namespace std; int main(){ int a; cin >> a; if(a > 60){ cout << "yes"; } if(a < 60){ cout << "no" } return 0; }


Run Info:

Main.cc:1:2: error: invalid preprocessing directive #incluae
 #incluae
  ^
Main.cc: In function 'int main()':
Main.cc:5:2: error: 'cin' was not declared in this scope
  cin >> a;
  ^
Main.cc:7:3: error: 'cout' was not declared in this scope
   cout << "yes";
   ^
Main.cc:10:3: error: 'cout' was not declared in this scope
   cout << "no"
   ^