結果

問題 No.700 LOVE
ユーザー Kaz_nlKaz_nl
提出日時 2018-12-30 11:21:34
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 47 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 3,221 ms
コンパイル使用メモリ 98,728 KB
実行使用メモリ 22,672 KB
最終ジャッジ日時 2023-09-30 05:38:17
合計ジャッジ時間 4,694 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 46 ms
22,500 KB
testcase_01 AC 43 ms
20,500 KB
testcase_02 AC 43 ms
20,568 KB
testcase_03 AC 45 ms
22,544 KB
testcase_04 AC 43 ms
20,460 KB
testcase_05 AC 44 ms
20,512 KB
testcase_06 AC 47 ms
22,572 KB
testcase_07 AC 46 ms
20,616 KB
testcase_08 AC 47 ms
20,524 KB
testcase_09 AC 45 ms
20,572 KB
testcase_10 AC 44 ms
20,528 KB
testcase_11 AC 44 ms
20,572 KB
testcase_12 AC 44 ms
22,672 KB
testcase_13 AC 45 ms
22,512 KB
testcase_14 AC 45 ms
20,556 KB
testcase_15 AC 47 ms
22,512 KB
testcase_16 AC 45 ms
18,412 KB
testcase_17 AC 45 ms
18,636 KB
testcase_18 AC 44 ms
20,516 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program {
  static void Main() {
    Console.ReadLine();
    var s = "";
    var a = "NO";
    while ((s = Console.ReadLine()) != null) {
      if (s.Contains("LOVE")) a = "YES";
    }
    Console.WriteLine(a);
  }
}
0