結果
| 問題 |
No.8100 始業式
|
| ユーザー |
CuriousFairy315
|
| 提出日時 | 2023-03-31 21:46:41 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 498 bytes |
| コンパイル時間 | 1,970 ms |
| コンパイル使用メモリ | 74,936 KB |
| 実行使用メモリ | 59,220 KB |
| 最終ジャッジ日時 | 2024-09-23 00:23:21 |
| 合計ジャッジ時間 | 3,370 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
import static java.lang.System.err;
public class Main {
public static void main(String[] args) {
java.io.PrintWriter out = new java.io.PrintWriter(System.out);
new Main(out);
out.flush();
err.flush();
}
public Main(java.io.PrintWriter out) {
try (java.util.Scanner sc = new java.util.Scanner(System.in)) {
int T = sc.nextInt();
while(T --> 0) {
int N = sc.nextInt();
int sum = 0;
for (int i = 0;i < N;++ i) sum += sc.nextInt();
out.println(sum);
}
}
}
}
CuriousFairy315