結果

問題 No.46 はじめのn歩
ユーザー nogisun
提出日時 2020-03-19 10:22:47
言語 Java
(openjdk 23)
結果
RE  
実行時間 -
コード長 388 bytes
コンパイル時間 3,598 ms
コンパイル使用メモリ 78,312 KB
実行使用メモリ 118,996 KB
最終ジャッジ日時 2024-12-14 03:05:13
合計ジャッジ時間 5,819 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 RE * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public class No9009{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
        long arry[] = new long[number];
        long sum = 0;
        for (int i=0; i < number; i++){
            arry[i] = sc.nextLong();
            sum += arry[i];
        }
        System.out.println(sum);
    }
}
0