Codeforces Round #685 DIV2 D問題 (1750pt)
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
{
REP(rd_int()){
ll @D, @K, d = 0, x, y = K * (D/K);
rep(x,0,D+1,K){
while(x*x+y*y > D*D) y -= K;
d >?= (x + y) / K;
}
wt(if[d%2, "Ashish", "Utkarsh"]);
}
}
Current time: 2024年04月25日13時10分40秒
Last modified: 2020年11月22日16時51分39秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF685 CF_DIV2_D
トップページに戻る
Logged in as: unknown user (not login)