| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5685 | 王冯俊 | 划拳 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 392 | 2020-08-14 17:10:46 |
#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int sum1=0,sum2=0; int a1,a2,b1,b2; int total; for(int i=0;i<n;++i){ cin>>a1>>a2>>b1>>b2; total = a1+b1; if(total==a2 && total==b2){ // 同赢 }else if(total==a2){ ++sum2; }else if(total==b2){ ++sum1; } } cout<<sum1<<" "<<sum2<<endl; return 0; }