結果

問題 No.2624 Prediction by Average
ユーザー 👑 p-adicp-adic
提出日時 2024-02-10 10:01:10
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 174 bytes
コンパイル時間 2,598 ms
コンパイル使用メモリ 176,848 KB
実行使用メモリ 7,616 KB
最終ジャッジ日時 2024-02-10 10:01:13
合計ジャッジ時間 3,305 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
7,616 KB
testcase_01 AC 6 ms
7,616 KB
testcase_02 WA -
testcase_03 AC 3 ms
7,616 KB
testcase_04 WA -
testcase_05 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@T;rep(T){ll@++N,C=1d3,r=N%C,m,L;VI a(3C);string@S;L=S.size();m=stoll(S.substr(0,L-4)+S.substr(L-3));REP(i,2C)a[i+1]=a[i]+((i*m+C-1)/C*C<i*m+i);wt(a[r]+N/C*(a[r+C]-a[r]));}
0