結果
問題 |
No.345 最小チワワ問題
|
ユーザー |
|
提出日時 | 2018-10-19 17:35:44 |
言語 | JavaScript (node v23.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 139 bytes |
コンパイル時間 | 62 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 41,328 KB |
最終ジャッジ日時 | 2024-10-13 00:46:30 |
合計ジャッジ時間 | 2,847 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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);