Educational Codeforces Round 77 A問題
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
int C, S;
{
REP(rd_int()){
rd(C,S);
wt( ((S/C)**2) * (C-S%C) + ((S/C+1)**2) * (S%C) );
}
}
Current time: 2024年03月29日09時40分10秒
Last modified: 2020年02月16日15時09分09秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces
トップページに戻る
Logged in as: unknown user (not login)