結果

問題 No.495 (^^*) Easy
ユーザー はむこはむこ
提出日時 2017-03-30 13:53:40
言語 Bash
(Bash 5.1.16)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 218 bytes
コンパイル時間 85 ms
コンパイル使用メモリ 5,208 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-21 08:40:37
合計ジャッジ時間 882 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

read s
(
echo $s | grep -o '\(\^\^\*\)' | uniq -c | awk '{print $1;f=1}END{if(!f)print 0;}'; 
echo $s | grep -o '\(\*\^\^\)' | uniq -c | awk '{print $1;f=1}END{if(!f)print 0;}';
) | tr '\n' ' '
echo
echo a > tmp
rm tmp
0