結果

問題 No.495 (^^*) Easy
ユーザー yun_app
提出日時 2017-03-28 18:29:56
言語 JavaScript
(node v23.5.0)
結果
RE  
実行時間 -
コード長 213 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 40,832 KB
最終ジャッジ日時 2024-10-13 00:06:24
合計ジャッジ時間 1,097 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

main(require("fs").readFileSync("/dev/stdin", "utf8").trim());
function main(chunk){
    // your code goes here
    
    console.log(chunk.match(/\(\^\^\*\)/g).length + " " + chunk.match(/\(\*\^\^\)/g).length);
}
0