結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
GodNegoto
|
| 提出日時 | 2019-11-01 15:43:49 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 137 ms / 2,000 ms |
| コード長 | 346 bytes |
| コンパイル時間 | 4,714 ms |
| コンパイル使用メモリ | 74,356 KB |
| 実行使用メモリ | 41,512 KB |
| 最終ジャッジ日時 | 2024-09-14 22:43:27 |
| 合計ジャッジ時間 | 5,953 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 8 |
ソースコード
import java.util.*;
public class sample6 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
for(int i=0; i < 9; i++) {
list.add(sc.nextInt());
}
//int n = 0;
int sum = 0;
for(int i=0; i<9; i++) {
sum += list.get(i);
}
System.out.println(55 - sum);
}
}
GodNegoto