提出 #573231
ソースコード 拡げる
#!/bin/bash a=`cat -` for i in `seq 1 256`; do b=`echo $a | sed "s:--::g" | sed "s:!-:!:g" | sed "s:!!!:!:g"` [ -z "$b" ] && break [ $a != $b ] && a=$b || break done echo $b
提出情報
| 提出日時 | |
|---|---|
| 問題 | E - ショートコーディング |
| ユーザ | ter979 |
| 言語 | Bash (4.2.25) |
| 得点 | 100 |
| コード長 | 192 Byte |
| 結果 | AC |
| 実行時間 | 105 ms |
| メモリ | 1456 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample-01.txt, sample-02.txt, sample-03.txt |
| All | sample-01.txt, sample-02.txt, sample-03.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt, 01-09.txt, 01-10.txt, 01-11.txt, 01-12.txt, 01-13.txt, 01-14.txt, 01-15.txt, 01-16.txt, 01-17.txt, 01-18.txt, 01-19.txt, 01-20.txt, 01-21.txt, 01-22.txt, 01-23.txt, 01-24.txt, 01-25.txt, 01-26.txt, 01-27.txt, 01-28.txt, 01-29.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 01-01.txt | AC | 46 ms | 1376 KiB |
| 01-02.txt | AC | 55 ms | 1420 KiB |
| 01-03.txt | AC | 55 ms | 1392 KiB |
| 01-04.txt | AC | 67 ms | 1404 KiB |
| 01-05.txt | AC | 74 ms | 1412 KiB |
| 01-06.txt | AC | 83 ms | 1420 KiB |
| 01-07.txt | AC | 86 ms | 1412 KiB |
| 01-08.txt | AC | 84 ms | 1416 KiB |
| 01-09.txt | AC | 84 ms | 1416 KiB |
| 01-10.txt | AC | 84 ms | 1408 KiB |
| 01-11.txt | AC | 84 ms | 1404 KiB |
| 01-12.txt | AC | 44 ms | 1368 KiB |
| 01-13.txt | AC | 45 ms | 1388 KiB |
| 01-14.txt | AC | 46 ms | 1332 KiB |
| 01-15.txt | AC | 45 ms | 1384 KiB |
| 01-16.txt | AC | 55 ms | 1400 KiB |
| 01-17.txt | AC | 43 ms | 1324 KiB |
| 01-18.txt | AC | 52 ms | 1340 KiB |
| 01-19.txt | AC | 59 ms | 1404 KiB |
| 01-20.txt | AC | 59 ms | 1400 KiB |
| 01-21.txt | AC | 61 ms | 1384 KiB |
| 01-22.txt | AC | 57 ms | 1412 KiB |
| 01-23.txt | AC | 57 ms | 1400 KiB |
| 01-24.txt | AC | 58 ms | 1396 KiB |
| 01-25.txt | AC | 55 ms | 1380 KiB |
| 01-26.txt | AC | 43 ms | 1328 KiB |
| 01-27.txt | AC | 55 ms | 1352 KiB |
| 01-28.txt | AC | 95 ms | 1456 KiB |
| 01-29.txt | AC | 105 ms | 1412 KiB |
| sample-01.txt | AC | 55 ms | 1412 KiB |
| sample-02.txt | AC | 45 ms | 1404 KiB |
| sample-03.txt | AC | 45 ms | 1356 KiB |