結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
21,884 KB
testcase_01 AC 55 ms
23,888 KB
testcase_02 AC 54 ms
21,876 KB
testcase_03 AC 53 ms
22,012 KB
testcase_04 AC 53 ms
23,900 KB
testcase_05 AC 54 ms
19,756 KB
testcase_06 AC 51 ms
19,756 KB
testcase_07 AC 52 ms
23,784 KB
testcase_08 AC 53 ms
21,860 KB
testcase_09 AC 52 ms
21,920 KB
testcase_10 AC 54 ms
21,860 KB
testcase_11 AC 53 ms
21,864 KB
testcase_12 AC 53 ms
23,828 KB
testcase_13 AC 55 ms
19,832 KB
testcase_14 AC 54 ms
23,972 KB
testcase_15 AC 53 ms
21,844 KB
testcase_16 AC 54 ms
21,844 KB
testcase_17 AC 53 ms
23,908 KB
testcase_18 AC 55 ms
23,936 KB
testcase_19 AC 52 ms
21,784 KB
testcase_20 AC 53 ms
21,800 KB
testcase_21 AC 51 ms
21,948 KB
testcase_22 AC 54 ms
23,904 KB
testcase_23 AC 52 ms
21,800 KB
testcase_24 AC 52 ms
21,892 KB
testcase_25 AC 53 ms
21,796 KB
testcase_26 AC 54 ms
21,984 KB
testcase_27 AC 55 ms
21,780 KB
testcase_28 AC 53 ms
19,884 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