結果
問題 |
No.700 LOVE
|
ユーザー |
![]() |
提出日時 | 2018-06-18 01:11:24 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 442 bytes |
コンパイル時間 | 805 ms |
コンパイル使用メモリ | 108,936 KB |
実行使用メモリ | 25,992 KB |
最終ジャッジ日時 | 2024-06-30 16:42:15 |
合計ジャッジ時間 | 2,011 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 9 WA * 7 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; namespace y { class Program { static void Main(string[] args) { var n = Console.ReadLine().Split()[0]; for (int i = 0; i < 2; i++) { if (Console.ReadLine().Contains("LOVE")) { Console.WriteLine("YES"); return; } } Console.WriteLine("NO"); } } }