結果
| 問題 |
No.700 LOVE
|
| コンテスト | |
| ユーザー |
pirorirori_n712
|
| 提出日時 | 2018-07-28 15:13:54 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 368 bytes |
| コンパイル時間 | 769 ms |
| コンパイル使用メモリ | 110,696 KB |
| 実行使用メモリ | 27,856 KB |
| 最終ジャッジ日時 | 2024-11-25 07:20:07 |
| 合計ジャッジ時間 | 1,966 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 WA * 1 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Linq;
class No700{
static void Main(){
var a=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray();
var b="NO";
for(int i=0;i<a[0];++i){
if(Console.ReadLine().IndexOf("LOVE")>0){
b="YES";
break;
}
}
Console.WriteLine(b);
}
}
pirorirori_n712