結果
| 問題 | No.446 ゆきこーだーの雨と雪 (1) |
| コンテスト | |
| ユーザー |
ryoo14
|
| 提出日時 | 2016-11-27 20:38:48 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 201 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 14,976 KB |
| 最終ジャッジ日時 | 2026-05-21 18:48:50 |
| 合計ジャッジ時間 | 2,867 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 10 WA * 3 |
コンパイルメッセージ
Main.rb:8: warning: `elsif` at the end of line without an expression Syntax OK
ソースコード
a = gets
b = gets
if a =~ /[a-zA-z]/ or b =~ /[a-zA-Z]/
puts "NG"
elsif a =~ /^0{2,}?/ or b =~ /^0{2,}?/
puts "NG"
elsif
puts "OK"
end
ryoo14