結果

問題 No.99 ジャンピング駒
ユーザー tailstails
提出日時 2019-08-26 00:51:08
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 243 ms / 5,000 ms
コード長 58 bytes
コンパイル時間 264 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 14,952 KB
最終ジャッジ日時 2024-04-25 00:03:42
合計ジャッジ時間 2,424 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 239 ms
14,824 KB
testcase_01 AC 239 ms
14,700 KB
testcase_02 AC 243 ms
14,828 KB
testcase_03 AC 232 ms
14,832 KB
testcase_04 AC 235 ms
14,952 KB
testcase_05 AC 235 ms
14,952 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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