結果
| 問題 |
No.8020 サンシャイン◯崎
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-03-31 22:45:43 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 146 bytes |
| コンパイル時間 | 259 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-12-23 13:59:53 |
| 合計ジャッジ時間 | 2,506 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 RE * 2 |
コンパイルメッセージ
Syntax OK
ソースコード
s = gets.chomp!
_e = s.index('E',)
_a = s.index('A',_e+1)
_h = s.index('H',_a+1)
_b = s.index('!',_h+1)
puts [_e,_a-_e,_h-_a,_b-_h,s.size-_b]*" "