Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
361452 徐梓豪 【C4-8】奇偶统计? C++ 解答错误 0 1 MS 252 KB 257 2025-11-16 16:59:24

Tests(0/3):


#include<bits/stdc++.h> using namespace std; int a[105][105],m,n,j,o; int main(){ cin>>n>>m; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ cin>>a[i][j]; if(a[i][j]%2==0) o++; else j++; } } cout<<j<<" "<<o; return 0; }


测评信息: