結果

問題 No.480 合計
ユーザー 3F26中村 大河3F26中村 大河
提出日時 2023-01-19 10:58:35
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 49 ms / 2,000 ms
コード長 254 bytes
コンパイル時間 1,957 ms
コンパイル使用メモリ 97,608 KB
実行使用メモリ 22,856 KB
最終ジャッジ日時 2023-09-03 19:37:01
合計ジャッジ時間 4,375 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
22,800 KB
testcase_01 AC 48 ms
20,744 KB
testcase_02 AC 47 ms
22,752 KB
testcase_03 AC 48 ms
22,628 KB
testcase_04 AC 47 ms
20,704 KB
testcase_05 AC 48 ms
18,660 KB
testcase_06 AC 48 ms
22,644 KB
testcase_07 AC 49 ms
20,700 KB
testcase_08 AC 47 ms
22,704 KB
testcase_09 AC 47 ms
20,636 KB
testcase_10 AC 47 ms
20,660 KB
testcase_11 AC 46 ms
20,628 KB
testcase_12 AC 48 ms
22,856 KB
testcase_13 AC 48 ms
20,708 KB
testcase_14 AC 46 ms
20,716 KB
testcase_15 AC 48 ms
18,628 KB
testcase_16 AC 49 ms
20,648 KB
testcase_17 AC 49 ms
22,748 KB
testcase_18 AC 47 ms
18,652 KB
testcase_19 AC 48 ms
22,700 KB
testcase_20 AC 47 ms
22,720 KB
testcase_21 AC 49 ms
22,612 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Program
{
    static void Main(){
        int s = int.Parse(Console.ReadLine());
        int test = 0;
        for (int t = 0; t < s + 1; t++)
        {
            test += t;
        }
        Console.WriteLine(test);
    }
}
0