結果
問題 |
No.345 最小チワワ問題
|
ユーザー |
|
提出日時 | 2018-10-19 17:31:29 |
言語 | JavaScript (node v23.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 139 bytes |
コンパイル時間 | 47 ms |
コンパイル使用メモリ | 6,692 KB |
実行使用メモリ | 41,584 KB |
最終ジャッジ日時 | 2024-10-13 00:46:27 |
合計ジャッジ時間 | 2,898 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 14 |
ソースコード
let input = require('fs').readFileSync('/dev/stdin', 'utf8'); const ans = input.match(/c.*?w.*?w/g); console.log(ans ? ans[0].length : -1);