Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132126 张咏灏 收集瓶盖赢大奖 C++ Compile Error 0 MS 0 KB 257 2025-10-06 12:35:30

Tests(0/0):


Code:

include<iostream> using namespace std; int main(){ int a,b,c; cin>>a; for(int i=0;i<a;i++){ cin>>b>>c; if(b>=10||c>=20){ cout<<"True"; }else{ cout<<"False"; } } return 0; }


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include 
 ^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
     cin>>a;
     ^
Main.cc:9:13: error: 'cout' was not declared in this scope
             cout<<"True";
             ^
Main.cc:11:13: error: 'cout' was not declared in this scope
             cout<<"False";
             ^