(String[] args)
| 2 | |
| 3 | class Main { |
| 4 | public static void main(String[] args) { |
| 5 | Scanner sc = new Scanner(System.in); |
| 6 | |
| 7 | // 入力 |
| 8 | int N = sc.nextInt(); |
| 9 | int[] A = new int[N + 1]; |
| 10 | for (int i = 1; i <= N; i++) { |
| 11 | A[i] = sc.nextInt(); |
| 12 | } |
| 13 | |
| 14 | // 答えの計算 |
| 15 | int Answer = 0; |
| 16 | for (int i = 1; i <= N; i++) { |
| 17 | Answer += A[i]; |
| 18 | } |
| 19 | |
| 20 | // 出力 |
| 21 | System.out.println(Answer % 100); |
| 22 | } |
| 23 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected