Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
91512 sh25_zhoumy 202412GESP一级02 C++ 通过 0 MS 236 KB 288 2026-06-13 07:01:29

Tests(1/1):


#include <bits/stdc++.h> using namespace std ; int n , x ; int cnt = 0 , cnt2 = 0 ; int main() { cin >> n ; while(n--) { cin >> x ; if(x % 2) cnt++ ; else cnt2++; } cout << ' ' << cnt << ' ' << cnt2 << endl ; return 0 ; }


测评信息: