保存されている過去のバージョンの一覧

2019年08月22日00時39分16秒

Codeforces Round #578 DIV2 C問題 - Round Corridor

Source

Codeforces Round #578 DIV2 C問題 (1250pt)
Problem description

問題概要

省略

解法

省略

cLayversion 20190820-1)のコード

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

//no-unlocked
ll N[2]; int Q;
int SX, EX;
ll SY, EY;
{
  ll g, m[2];

  rd(N(2),Q);
  g = gcd(N(2));
  m[0..1] = N[0..1] / g;
  
  rep(Q){
    rd(SX--,SY--,EX--,EY--);
    wt(if[SY/m[SX]==EY/m[EX], "YES", "NO"]);
  }
}

Current time: 2024年03月28日23時08分42秒
Last modified: 2019年08月22日00時39分16秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF578 CF_Div2_C
トップページに戻る

Logged in as: unknown user (not login)

ログイン: