Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135205 dyh 07判断成绩 C++ Compile Error 0 MS 0 KB 314 2025-11-03 16:23:55

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ bool rain; cin>>rain; if(rai cout<<"明天不出去"; cout<<"明天不出去"; cout<<"明天不出去"; cout<<"明天不出去"; cout<<"明天不出去"; } cout<<"------------"; if(rain==false){ cout<<"明天出去玩"; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: 'rai' was not declared in this scope
  if(rai
     ^
Main.cc:7:3: error: expected ')' before 'cout'
   cout<<"明天不出去"; 
   ^
Main.cc: At global scope:
Main.cc:13:2: error: 'cout' does not name a type
  cout<<"------------";
  ^
Main.cc:14:2: error: expected unqualified-id before 'if'
  if(rain==false){
  ^