Codeforces Round #582 DIV3 A問題
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
{
int N, cnt[2] = {}, res;
rd(N);
rep(N) cnt[rd_int()%2]++;
res = min(cnt(2));
wt(res);
}
Current time: 2024年04月18日08時39分45秒
Last modified: 2019年09月01日00時51分07秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF582 CF_Div3_A
トップページに戻る
Logged in as: unknown user (not login)