結果
| 問題 |
No.345 最小チワワ問題
|
| コンテスト | |
| ユーザー |
muu16
|
| 提出日時 | 2018-09-04 15:58:06 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 84 bytes |
| コンパイル時間 | 208 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-10-13 14:08:14 |
| 合計ジャッジ時間 | 3,788 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 9 WA * 20 |
コンパイルメッセージ
Syntax OK
ソースコード
a = gets.chomp b = a.match(/c.*w/) if b == nil puts "-1" else puts b[0].size end
muu16