結果
| 問題 |
No.700 LOVE
|
| コンテスト | |
| ユーザー |
s4na_penguin
|
| 提出日時 | 2020-11-06 21:44:17 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 188 bytes |
| コンパイル時間 | 59 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-07-22 12:34:08 |
| 合計ジャッジ時間 | 2,665 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 16 |
コンパイルメッセージ
Syntax OK
ソースコード
def love(params)
!params.index('LOVE').nil? ? 'YES' : 'NO'
end
strs = []
num = gets.split(' ').first.to_i
p "num = #{num}"
num.times.each do
strs << gets
end
puts love(strs.to_s)
s4na_penguin