Submission #499394

#TimeUsernameProblemLanguageResultExecution timeMemory
499394adamLjeto (COCI21_ljeto)C++14
15 / 50
0 ms204 KiB
#include <iostream> using namespace std; int main() { int n; cin>>n; int sum1=0,sum2=0; int a[n],b[n],c[n]; for(int i=0;i<n;i++){ cin>>a[i]>>b[i]>>c[i]; if(b[i]>=5)sum2+=100; if(b[i]<5)sum1+=100; } cout<<sum1<<' '<<sum2; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...