結果
| 問題 |
No.345 最小チワワ問題
|
| コンテスト | |
| ユーザー |
wonda_t_coffee
|
| 提出日時 | 2020-01-29 11:35:27 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 69 bytes |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-09-16 00:49:18 |
| 合計ジャッジ時間 | 4,038 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 19 |
コンパイルメッセージ
Syntax OK
ソースコード
s = gets.chomp.scan(/c.*w.*w/) puts s.empty? ? -1 : s.map(&:size).min
wonda_t_coffee