結果
問題 |
No.153 石の山
|
ユーザー |
👑 |
提出日時 | 2015-02-15 23:54:48 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 46 bytes |
コンパイル時間 | 92 ms |
コンパイル使用メモリ | 7,424 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-10-14 14:02:55 |
合計ジャッジ時間 | 3,444 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 24 WA * 3 |
コンパイルメッセージ
Main.rb:1: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator Syntax OK
ソースコード
puts /^(1|1[13579]|97|99)$/.match(gets)?:B: :A