結果
| 問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
noishi70
|
| 提出日時 | 2019-02-13 14:29:35 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 287 bytes |
| コンパイル時間 | 3,437 ms |
| コンパイル使用メモリ | 74,180 KB |
| 実行使用メモリ | 55,924 KB |
| 最終ジャッジ日時 | 2024-09-13 09:57:38 |
| 合計ジャッジ時間 | 8,296 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | WA * 11 RE * 4 |
ソースコード
import java.util.Scanner;
public class kuhaku {
public static void main(String[] args) {
int N = new Scanner(System.in).nextInt();
long sum = 0;
int a = new Scanner(System.in).nextInt();
for(int i =0; i < N; i ++) {
sum += a;
}
System.out.println(sum);
}
}
noishi70