結果

問題 No.1389 Clumsy Calculation
ユーザー tailstails
提出日時 2021-02-12 21:49:07
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 35 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 7,100 KB
実行使用メモリ 7,532 KB
最終ジャッジ日時 2023-09-27 03:38:18
合計ジャッジ時間 3,731 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
4,376 KB
testcase_01 AC 6 ms
4,376 KB
testcase_02 AC 6 ms
4,376 KB
testcase_03 AC 7 ms
4,380 KB
testcase_04 AC 7 ms
4,376 KB
testcase_05 AC 8 ms
4,376 KB
testcase_06 AC 7 ms
4,376 KB
testcase_07 AC 7 ms
4,376 KB
testcase_08 AC 6 ms
4,376 KB
testcase_09 AC 98 ms
7,532 KB
testcase_10 AC 63 ms
4,376 KB
testcase_11 AC 7 ms
4,376 KB
testcase_12 AC 7 ms
4,380 KB
testcase_13 AC 7 ms
4,376 KB
testcase_14 AC 91 ms
4,376 KB
testcase_15 AC 92 ms
4,380 KB
testcase_16 AC 92 ms
4,376 KB
testcase_17 AC 97 ms
6,348 KB
testcase_18 AC 98 ms
6,096 KB
testcase_19 AC 97 ms
6,856 KB
testcase_20 AC 97 ms
6,072 KB
testcase_21 AC 99 ms
6,108 KB
testcase_22 AC 96 ms
6,052 KB
testcase_23 AC 98 ms
6,036 KB
testcase_24 AC 97 ms
6,828 KB
testcase_25 AC 98 ms
6,580 KB
testcase_26 AC 87 ms
4,380 KB
testcase_27 AC 92 ms
4,376 KB
testcase_28 AC 98 ms
6,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read n x
echo $[x-x*n+`tr \  +|bc`]
0