結果
| 問題 |
No.203 ゴールデン・ウィーク(1)
|
| コンテスト | |
| ユーザー |
motorailgun
|
| 提出日時 | 2015-10-06 22:48:01 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 173 bytes |
| コンパイル時間 | 98 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-07-20 01:45:38 |
| 合計ジャッジ時間 | 3,432 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 29 |
コンパイルメッセージ
Main.rb:11: warning: mismatched indentations at 'end' with 'while' at 5 Main.rb:3: warning: assigned but unused variable - flg Syntax OK
ソースコード
days = gets.chomp.split(/x+?/)
i = 0
flg = false
yesbig=0
while big = days[i] do
if yesbig < big.size then
yesbig = big.size
else
end
i+=1
end
motorailgun