Codeforces Round #586 A問題 - Cards

Source

Codeforces Round #586 A問題 (500pt)
Problem description

問題概要

省略

解法

省略

cLayversion 20190921-1)のコード

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月17日00時08分17秒
Last modified: 2019年09月21日12時29分34秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF586
トップページに戻る

Logged in as: unknown user (not login)

ログイン: