結果

問題 No.40 多項式の割り算
ユーザー tailstails
提出日時 2019-08-16 11:43:08
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 83 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 4,652 KB
最終ジャッジ日時 2023-10-22 00:33:36
合計ジャッジ時間 1,593 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,348 KB
testcase_01 AC 1 ms
4,348 KB
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 24 ms
4,348 KB
testcase_05 AC 30 ms
4,380 KB
testcase_06 AC 38 ms
4,592 KB
testcase_07 AC 41 ms
4,644 KB
testcase_08 AC 3 ms
4,348 KB
testcase_09 AC 28 ms
4,348 KB
testcase_10 AC 37 ms
4,548 KB
testcase_11 AC 22 ms
4,348 KB
testcase_12 AC 14 ms
4,348 KB
testcase_13 AC 37 ms
4,536 KB
testcase_14 AC 24 ms
4,348 KB
testcase_15 AC 23 ms
4,348 KB
testcase_16 AC 36 ms
4,540 KB
testcase_17 AC 11 ms
4,348 KB
testcase_18 AC 35 ms
4,500 KB
testcase_19 AC 42 ms
4,652 KB
testcase_20 AC 19 ms
4,348 KB
testcase_21 AC 9 ms
4,348 KB
testcase_22 AC 8 ms
4,348 KB
testcase_23 AC 19 ms
4,348 KB
testcase_24 AC 29 ms
4,372 KB
testcase_25 AC 1 ms
4,348 KB
testcase_26 AC 2 ms
4,348 KB
testcase_27 AC 2 ms
4,348 KB
testcase_28 AC 1 ms
4,348 KB
testcase_29 AC 2 ms
4,348 KB
testcase_30 AC 1 ms
4,348 KB
testcase_31 AC 2 ms
4,348 KB
testcase_32 AC 1 ms
4,348 KB
testcase_33 AC 1 ms
4,348 KB
testcase_34 AC 1 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read
$_ x
for x in $x
{((a[i]+=x,i=i%2+1))
}
echo "$[d=a[2]?2:!!a[1]]
${a[@]::d+1}"
0