Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82802 sh25_shenpy 202412GESP一级02 C++ 输出格式错误 0 MS 244 KB 281 2026-01-18 10:55:16

Tests(0/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 ; }


测评信息: