| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 313439 | 方相宜 | 【C4-8】奇偶统计? | C++ | Wrong Answer | 0 | 1 MS | 252 KB | 341 | 2025-03-21 20:28:57 |
#include<iostream> using namespace std; int a[105][105]; int main(){ int s=0,d=0; for(int i=1;i<=2;i++){ for(int j=1;j<=3;j++){ cin>>a[i][j]; } } for(int i=1;i<=2;i++){ for(int j=1;j<=3;j++){ if(a[i][j]%2==0){ s++; }else{ d++; } } }cout<<s<<" "<<d; return 0; }