提交时间:2023-08-01 23:46:57
运行 ID: 23908
#include<iostream> using namespace std; int n,cough,ans; string name; double temp; int main() { cin>>n; for(int i=1;i<=n;i++) { cin>>name>>temp>>cough; if(temp>=37.5&&cough) { cout<<name<<endl; ans++; } } cout<<ans<<endl; return 0; }