結果

問題 No.123 カードシャッフル
ユーザー tailstails
提出日時 2019-08-27 15:46:16
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 589 ms / 5,000 ms
コード長 56 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 31,648 KB
最終ジャッジ日時 2024-04-27 16:35:42
合計ジャッジ時間 8,643 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 503 ms
23,800 KB
testcase_01 AC 493 ms
23,928 KB
testcase_02 AC 487 ms
23,672 KB
testcase_03 AC 489 ms
23,544 KB
testcase_04 AC 490 ms
23,800 KB
testcase_05 AC 488 ms
23,672 KB
testcase_06 AC 492 ms
23,668 KB
testcase_07 AC 486 ms
23,796 KB
testcase_08 AC 491 ms
23,796 KB
testcase_09 AC 497 ms
23,672 KB
testcase_10 AC 536 ms
31,616 KB
testcase_11 AC 581 ms
31,392 KB
testcase_12 AC 589 ms
31,648 KB
testcase_13 AC 583 ms
31,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

read
$_ -aa
$[v=a[{99999..0}],r>1?r-=v>=r:(r=v)]
echo $r
0