結果

問題 No.480 合計
ユーザー withMakaroni CommonwithMakaroni Common
提出日時 2021-04-05 22:24:49
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 192 bytes
コンパイル時間 2,123 ms
コンパイル使用メモリ 97,988 KB
実行使用メモリ 22,784 KB
最終ジャッジ日時 2023-08-30 09:34:34
合計ジャッジ時間 4,798 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
22,692 KB
testcase_01 AC 58 ms
20,664 KB
testcase_02 AC 62 ms
20,652 KB
testcase_03 AC 59 ms
22,708 KB
testcase_04 AC 59 ms
20,584 KB
testcase_05 AC 58 ms
20,784 KB
testcase_06 AC 60 ms
22,784 KB
testcase_07 AC 64 ms
22,640 KB
testcase_08 AC 60 ms
18,680 KB
testcase_09 AC 58 ms
20,764 KB
testcase_10 AC 58 ms
20,872 KB
testcase_11 AC 58 ms
20,664 KB
testcase_12 AC 61 ms
22,752 KB
testcase_13 AC 60 ms
20,600 KB
testcase_14 AC 59 ms
20,708 KB
testcase_15 AC 57 ms
18,668 KB
testcase_16 AC 60 ms
18,740 KB
testcase_17 AC 61 ms
20,736 KB
testcase_18 AC 59 ms
20,712 KB
testcase_19 AC 59 ms
22,668 KB
testcase_20 AC 58 ms
20,696 KB
testcase_21 AC 58 ms
18,716 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 Yukicorder
{
    public static void Main()
    {
        var N = Console.ReadLine();
        int NN = int.Parse(N);

        Console.WriteLine(NN * (NN + 1) / 2);
    }
}
0