結果
| 問題 | No.203 ゴールデン・ウィーク(1) |
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2016-06-06 10:10:35 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 1,000 ms |
| コード長 | 137 bytes |
| 記録 | |
| コンパイル時間 | 91 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-11-18 09:43:25 |
| 合計ジャッジ時間 | 3,686 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 29 |
コンパイルメッセージ
Syntax OK
ソースコード
s=STDIN.gets.chomp s<<STDIN.gets.chomp c=0 ans=0 s.size.times do |i| if s[i]=="o" c+=1 else c=0 end ans=[ans,c].max end puts ans
horiesiniti