結果
| 問題 | No.700 LOVE |
| コンテスト | |
| ユーザー |
pink_bangbi
|
| 提出日時 | 2020-11-06 21:44:01 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 326 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 15,104 KB |
| 最終ジャッジ日時 | 2026-04-03 09:05:45 |
| 合計ジャッジ時間 | 1,804 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge5_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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