Submission #42892444
Source Code Expand
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
try (Scanner scanner = new Scanner(System.in)) {
int n = scanner.nextInt();
for (int i = 0; i < n; i++) {
int sum = 0;
for (int j = 0; j < 7; j++) {
sum += scanner.nextInt();
}
System.out.print(sum + " ");
}
}
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Weekly Records |
| User | kmatsu |
| Language | Java (OpenJDK 11.0.6) |
| Score | 100 |
| Code Size | 369 Byte |
| Status | AC |
| Exec Time | 185 ms |
| Memory | 38572 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 185 ms | 38400 KiB |
| random_02.txt | AC | 136 ms | 38568 KiB |
| random_03.txt | AC | 159 ms | 38232 KiB |
| random_04.txt | AC | 145 ms | 38448 KiB |
| random_05.txt | AC | 139 ms | 38492 KiB |
| random_06.txt | AC | 136 ms | 38532 KiB |
| random_07.txt | AC | 139 ms | 38396 KiB |
| random_08.txt | AC | 143 ms | 38436 KiB |
| sample_01.txt | AC | 134 ms | 38380 KiB |
| sample_02.txt | AC | 141 ms | 38572 KiB |