結果

問題 No.476 正しくない平均
ユーザー ixTL255ixTL255
提出日時 2017-01-28 02:09:21
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 284 bytes
コンパイル時間 2,184 ms
コンパイル使用メモリ 103,340 KB
実行使用メモリ 23,976 KB
最終ジャッジ日時 2023-08-25 22:35:45
合計ジャッジ時間 4,476 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 52 ms
21,856 KB
testcase_01 AC 51 ms
23,848 KB
testcase_02 AC 52 ms
21,772 KB
testcase_03 AC 52 ms
22,008 KB
testcase_04 AC 52 ms
21,804 KB
testcase_05 AC 53 ms
21,800 KB
testcase_06 AC 52 ms
23,836 KB
testcase_07 AC 52 ms
21,792 KB
testcase_08 AC 53 ms
21,920 KB
testcase_09 AC 60 ms
23,852 KB
testcase_10 AC 58 ms
21,884 KB
testcase_11 AC 56 ms
21,792 KB
testcase_12 AC 55 ms
23,848 KB
testcase_13 AC 54 ms
21,792 KB
testcase_14 AC 52 ms
23,856 KB
testcase_15 AC 51 ms
21,736 KB
testcase_16 AC 52 ms
21,836 KB
testcase_17 AC 52 ms
21,796 KB
testcase_18 AC 52 ms
21,872 KB
testcase_19 AC 50 ms
23,840 KB
testcase_20 AC 50 ms
23,844 KB
testcase_21 AC 51 ms
21,860 KB
testcase_22 AC 50 ms
21,764 KB
testcase_23 AC 52 ms
23,844 KB
testcase_24 AC 55 ms
23,848 KB
testcase_25 AC 57 ms
19,892 KB
testcase_26 AC 57 ms
23,976 KB
testcase_27 AC 57 ms
21,792 KB
testcase_28 AC 57 ms
23,784 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using c=System.Console;
using System.Linq;
public class Yuki{
	public static void Main(){
		var x=c.ReadLine().Split(' ').Select(n=>int.Parse(n)).ToList();
		var y=c.ReadLine().Split(' ').Select(n=>int.Parse(n)).ToList();
		var a=(x[1]==y.Average())?"YES":"NO";
		c.WriteLine(a);
	}
}
0