Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78319 王馨桐 收集瓶盖赢大奖 C++ Accepted 3 MS 272 KB 258 2024-06-18 17:04:04

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int n,sum=0,x,g; cin>>n; for(int i=1; i<=n; i++) { cin>>x >>g; if(x>=10||g>=20) { sum+=1; cout <<"True" <<endl; } else { cout <<"False" <<endl; } } return 0; }