Codeforces Round #563 DIV2 B問題 - Ehab Is an Odd Person

Source

Codeforces Round #563 DIV2 B問題 (1000pt)
Problem description

問題概要

省略

解法

省略

cLayversion 20190608-1)のコード

C++に変換後のコードはこちら

//no-unlocked
int N, A[1d5];
{
  int i, s = 0;
  rd(N,A(N));
  rep(i,N) if(A[i]%2) s++;
  if(0 < s < N) sort(A, A+N);
  wt(A(N));
}

Current time: 2024年04月27日11時41分35秒
Last modified: 2019年06月08日05時00分51秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF563 CF_Div2_B
トップページに戻る

Logged in as: unknown user (not login)

ログイン: