結果

問題 No.333 門松列を数え上げ
ユーザー nobigomunobigomu
提出日時 2018-05-28 23:29:38
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 75 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-12 20:16:34
合計ジャッジ時間 885 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
4,380 KB
testcase_01 AC 4 ms
4,380 KB
testcase_02 AC 4 ms
4,376 KB
testcase_03 AC 4 ms
4,380 KB
testcase_04 AC 4 ms
4,380 KB
testcase_05 AC 4 ms
4,380 KB
testcase_06 AC 4 ms
4,376 KB
testcase_07 AC 3 ms
4,380 KB
testcase_08 AC 3 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

_==0 "exec" "gawk" "-f" "$0"
BEGIN{ n=2e9 }
{ print $1<$2 ? $2-2 : n-$2-1 }
0