結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
cande398
|
| 提出日時 | 2017-10-08 00:16:11 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 231 bytes |
| コンパイル時間 | 2,246 ms |
| コンパイル使用メモリ | 74,764 KB |
| 実行使用メモリ | 56,020 KB |
| 最終ジャッジ日時 | 2024-11-17 04:40:58 |
| 合計ジャッジ時間 | 6,210 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
import java.util.*;
public class Main{
public static void main(String[] args){
int i, sum =0;
int num = new Scanner(System.in).nextInt();
for(i=1;i<=num;i++){
sum += i;
}
System.out.println(num);
}
}
cande398