結果

問題 No.99 ジャンピング駒
ユーザー tailstails
提出日時 2019-08-26 00:52:26
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 410 ms / 5,000 ms
コード長 53 bytes
コンパイル時間 37 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 14,460 KB
最終ジャッジ日時 2023-08-07 05:53:49
合計ジャッジ時間 3,544 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 408 ms
14,444 KB
testcase_01 AC 404 ms
14,328 KB
testcase_02 AC 405 ms
14,392 KB
testcase_03 AC 410 ms
14,460 KB
testcase_04 AC 407 ms
14,384 KB
testcase_05 AC 404 ms
14,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read
$_ x
for x in $x
{((s+=(x&1)*2-1))
}
echo ${s/-}
0