結果

問題 No.480 合計
ユーザー kmz_kappa
提出日時 2017-09-11 20:43:48
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 236 bytes
コンパイル時間 834 ms
コンパイル使用メモリ 102,784 KB
実行使用メモリ 16,000 KB
最終ジャッジ日時 2024-11-07 17:04:39
合計ジャッジ時間 1,909 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 22
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program
{
    static void Main(string[] args)
    {
        int sum = 0;
        for (int i = 1; i <= Convert.ToInt32(args[0]); i++)
        {
            sum += i;
        }
        Console.WriteLine(sum);
    }
}
0