結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
atention
|
| 提出日時 | 2022-07-29 00:12:11 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| コンパイル時間 | 1,762 ms |
| コンパイル使用メモリ | 74,868 KB |
| 実行使用メモリ | 52,140 KB |
| 最終ジャッジ日時 | 2024-07-18 14:49:03 |
| 合計ジャッジ時間 | 3,571 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
class Main{
public static void main(String[] args){
int total = 0;
if(args.length > 0){
int cnt = Integer.parseInt(args[0]);
for(int i=0;i<=cnt;i++){
total += i;
}
}
System.out.print(String.valueOf(total));
}
}
atention