Codeforces Round #610 DIV2 A問題 (500pt)
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
{
int A, B, C, R;
REP(rd_int()){
rd(A,B,C,R);
sortE(A,B);
wt(min(B-A, max(0, C-R-A) + max(0, B-C-R)));
}
}
Current time: 2024年04月28日11時27分11秒
Last modified: 2019年12月27日20時46分37秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF610 CF_Div2_A
トップページに戻る
Logged in as: unknown user (not login)