結果

問題 No.929 よくあるボールを移動するやつ
ユーザー kotatsugamekotatsugame
提出日時 2019-11-23 00:16:24
言語 Bash
(Bash 5.1.16)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 53 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 5,504 KB
実行使用メモリ 8,192 KB
最終ジャッジ日時 2024-04-19 14:05:50
合計ジャッジ時間 735 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 3 ms
5,376 KB
testcase_03 AC 3 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 2 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 10 ms
5,376 KB
testcase_08 AC 21 ms
7,808 KB
testcase_09 AC 20 ms
7,936 KB
testcase_10 AC 19 ms
7,808 KB
testcase_11 AC 18 ms
7,808 KB
testcase_12 AC 19 ms
7,808 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

awk 'i{for(;i;i--)s+=((t+=$i-1)^2)^.5;print+s}{i=$1}'
0