Codeforces Round #586 A問題 (500pt)
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
int N;
char S[100002];
int res[1d5], ress;
{
int z = 0, n = 0;
rd(N,S);
rep(i,N) if(S[i]=='n') res[ress++] = 1;
rep(i,N) if(S[i]=='z') res[ress++] = 0;
wt(res(ress));
}
Current time: 2024年04月30日07時23分08秒
Last modified: 2019年09月21日12時29分34秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF586
トップページに戻る
Logged in as: unknown user (not login)