結果
| 問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
|
| 提出日時 | 2023-09-01 14:00:56 |
| 言語 | Java (openjdk 23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 301 bytes |
| コンパイル時間 | 2,132 ms |
| コンパイル使用メモリ | 75,892 KB |
| 実行使用メモリ | 59,140 KB |
| 最終ジャッジ日時 | 2025-01-03 06:33:28 |
| 合計ジャッジ時間 | 11,583 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 RE * 1 |
| other | AC * 9 RE * 6 |
ソースコード
import java.util.Scanner;
class Wandbox
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int ans = 0;
for (int i = 0; i < n; i++) {
ans += sc.nextInt();
}
System.out.println(ans);
}
}