Educational Codeforces Round 67 A問題
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
int TT, N, S, T;
{
int both, res;
rd(TT);
rep(TT){
rd(N,S,T);
both = S + T - N;
S -= both;
T -= both;
res = max(S,T) + 1;
wt(res);
}
}
Current time: 2024年04月18日21時36分35秒
Last modified: 2019年07月05日19時32分38秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces
トップページに戻る
Logged in as: unknown user (not login)