시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 512 MB | 86 | 81 | 54 | 94.737% |
Given an array of integer numbers with 5 elements and for each of its elements, find the smallest prime number which is not less than that element.
The first line shows the number of test cases (T).
For each test case, we will have an array of integers (I) with length n in space-separated format.
Print the sum of obtained prime numbers for each test case.
2 1254 12 1859 9762 6 5 6 8 10 15
12907 51