結果

問題 No.480 合計
ユーザー atention
提出日時 2022-07-29 00:07:22
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 203 bytes
コンパイル時間 1,746 ms
コンパイル使用メモリ 73,560 KB
実行使用メモリ 36,876 KB
最終ジャッジ日時 2024-07-18 14:44:00
合計ジャッジ時間 3,393 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

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