Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82803 sh25_shenpy 202412GESP一级02 C++ 通过 0 MS 244 KB 288 2026-01-18 10:55:32

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 ; }


测评信息: