Codeforces Round #672 DIV2 A問題 - Cubes Sorting

Source

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

問題概要

省略

解法

省略

cLayversion 20200920-1)のコード

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

//no-unlocked
int N, A[1d5];
{
  REP(rd_int()){
    rd(N,A(N));
    wt(if[inversion(N,A) < (ll)N*(N-1)/2, "YES", "NO"]);
  }
}

Current time: 2024年03月29日22時11分38秒
Last modified: 2020年09月25日18時09分57秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF672 CF_Div2_A
トップページに戻る

Logged in as: unknown user (not login)

ログイン: