結果

問題 No.495 (^^*) Easy
ユーザー はむこはむこ
提出日時 2017-03-30 13:50:01
言語 Bash
(Bash 5.1.16)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 198 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-21 08:39:35
合計ジャッジ時間 1,056 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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
0