結果
| 問題 | No.341 沈黙の期間 |
| コンテスト | |
| ユーザー |
butchi_y
|
| 提出日時 | 2015-05-10 13:43:37 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 310 bytes |
| 記録 | |
| コンパイル時間 | 63 ms |
| コンパイル使用メモリ | 6,948 KB |
| 実行使用メモリ | 40,192 KB |
| 最終ジャッジ日時 | 2024-10-12 23:33:09 |
| 合計ジャッジ時間 | 1,657 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 9 RE * 2 |
ソースコード
function Main(input) {
var arr, ret, i, len;
arr = input.match(/…+/g);
len = arr.length;
ret = 0;
for(i = 0; i < len; i++) {
if(arr[i].length > ret) {
ret = arr[i].length;
}
}
console.log(ret);
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
butchi_y