結果

問題 No.480 合計
ユーザー QED0302
提出日時 2018-05-09 15:11:20
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 189 bytes
コンパイル時間 1,980 ms
コンパイル使用メモリ 74,384 KB
実行使用メモリ 52,068 KB
最終ジャッジ日時 2024-06-28 02:43:42
合計ジャッジ時間 3,924 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

class num{
	public static void main(String[] args){
		int num = Integer.parseInt(args[0]);
		int total = 0;
		for(int i = 0;i<=num;i++){
			total += i;
		}
		System.out.println(total);
	}
}
0