結果
問題 | No.203 ゴールデン・ウィーク(1) |
ユーザー |
![]() |
提出日時 | 2015-10-06 23:09:57 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 94 ms / 1,000 ms |
コード長 | 216 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-11-18 09:30:43 |
合計ジャッジ時間 | 3,566 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 29 |
コンパイルメッセージ
Main.rb:13: warning: mismatched indentations at 'end' with 'while' at 7 Syntax OK
ソースコード
days = gets.chomp daysins=gets.chomp days+=daysins days=days.split(/x+/) i = 0 yesbig=0 while big = days[i] do if yesbig < big.size then yesbig = big.size else end i+=1 end puts(yesbig)