結果
| 問題 |
No.700 LOVE
|
| コンテスト | |
| ユーザー |
neko_the_shadow
|
| 提出日時 | 2018-06-15 22:50:50 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 113 bytes |
| コンパイル時間 | 66 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-06-30 15:11:55 |
| 合計ジャッジ時間 | 2,334 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 1 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - m Syntax OK
ソースコード
n, m = gets.split.map(&:to_i)
has_love = n.times.one?{ gets.chomp.include?("LOVE") }
puts has_love ? "YES" : "NO"
neko_the_shadow