結果

問題 No.292 芸名
ユーザー kimiyukikimiyuki
提出日時 2016-06-11 18:46:53
言語 Bash
(Bash 5.1.16)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 179 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-25 20:28:20
合計ジャッジ時間 1,214 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

sed '
#!/bin/sed -f
:
s/[1-9]/&-/g
y/123456789/012345678/
t
s/-0/9-/
t
s/00/0/g
s/^/;/
s/$/ /
:1
/0[^-]/{
    s/;./; /
    s/0[^-]//g
}
s/;\(.\)/\1;/
s/0-/0/g
s/; .*//
t1
s/ //g
'
0