結果
| 問題 |
No.341 沈黙の期間
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-13 21:57:20 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 193 bytes |
| コンパイル時間 | 129 ms |
| コンパイル使用メモリ | 6,692 KB |
| 実行使用メモリ | 40,192 KB |
| 最終ジャッジ日時 | 2024-10-13 01:12:48 |
| 合計ジャッジ時間 | 1,558 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 3 RE * 2 |
ソースコード
const lines = require('fs')
.readFileSync('/dev/stdin', 'utf-8')
.trim().split('\n').values();
const S = lines.next().value;
console.log(Math.max(...S.match(/…+/).map(x => x.length)));