結果
| 問題 | No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用) |
| ユーザー |
noishi70
|
| 提出日時 | 2019-02-13 14:32:25 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 291 bytes |
| 記録 | |
| コンパイル時間 | 3,028 ms |
| コンパイル使用メモリ | 81,888 KB |
| 実行使用メモリ | 52,572 KB |
| 最終ジャッジ日時 | 2026-04-04 04:35:09 |
| 合計ジャッジ時間 | 5,320 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 15 |
ソースコード
import java.util.Scanner;
public class kuhaku {
public static void main(String[] args) {
int N = new Scanner(System.in).nextInt();
long sum = 0;
for(int i =0; i < N; i ++) {
int a = new Scanner(System.in).nextInt();
sum += a;
}
System.out.println(sum);
}
}
noishi70