結果

問題 No.1406 Test
ユーザー bluemeganebluemegane
提出日時 2021-02-27 07:04:18
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 315 bytes
コンパイル時間 815 ms
コンパイル使用メモリ 112,096 KB
実行使用メモリ 27,232 KB
最終ジャッジ日時 2024-04-10 15:12:40
合計ジャッジ時間 2,093 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 22 ms
27,096 KB
testcase_01 AC 22 ms
25,132 KB
testcase_02 WA -
testcase_03 AC 22 ms
24,840 KB
testcase_04 AC 21 ms
24,836 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 RE -
testcase_08 WA -
testcase_09 RE -
testcase_10 AC 21 ms
26,760 KB
testcase_11 WA -
testcase_12 AC 21 ms
24,792 KB
testcase_13 AC 21 ms
24,804 KB
testcase_14 AC 21 ms
26,848 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 RE -
testcase_18 AC 22 ms
24,580 KB
testcase_19 AC 22 ms
25,056 KB
testcase_20 RE -
testcase_21 AC 21 ms
22,836 KB
testcase_22 WA -
testcase_23 AC 22 ms
26,844 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System.Linq;
using System;

public class Hello
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        string[] line = Console.ReadLine().Trim().Split(' ');
        var s = Array.ConvertAll(line, int.Parse).Sum() % n;
        Console.WriteLine((100 - s) / n + 1);
    }
}
0