結果
| 問題 |
No.700 LOVE
|
| コンテスト | |
| ユーザー |
pink_bangbi
|
| 提出日時 | 2020-11-06 21:44:01 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 326 bytes |
| コンパイル時間 | 84 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,416 KB |
| 最終ジャッジ日時 | 2024-07-22 12:33:46 |
| 合計ジャッジ時間 | 2,559 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 16 |
コンパイルメッセージ
Syntax OK
ソースコード
require "stringio"
using Module.new {
refine TrueClass do
def to_s
"YES"
end
end
refine FalseClass do
def to_s
"NO"
end
end
}
input = StringIO.new(<<~EOS)
4 4
LLLL
OOOO
VVVV
EEEE
EOS
input = $stdin
puts input.gets.split.map(&:to_i).first.times.lazy.map { p input.gets }.any?(/LOVE/).to_s
pink_bangbi