Task: | Interesting number |
Sender: | \(._.)/ |
Submission time: | 2024-09-28 16:56:00 +0300 |
Language: | Python3 (PyPy3) |
Status: | READY |
Result: | WRONG ANSWER |
test | verdict | time | |
---|---|---|---|
#1 | WRONG ANSWER | 0.10 s | details |
#2 | WRONG ANSWER | 0.07 s | details |
Code
t = int(input()) nums = [1, 2, 3, 5, 7, 11, 101, 131, 151, 181, 191, 313, 353, 373, 383, 727, 757, 787, 797, 919, 929] for i in range(t): n = int(input()) xs = list(map(int, input().split())) for j in range(n): if xs[j] in nums: print(xs[j])