Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
301182 | 叶俊希 | 【C2-1】输出是2的倍数,但非3的倍数的数 | Python3 | Accepted | 100 | 190 MS | 3776 KB | 97 | 2024-11-22 20:34:09 |
n=int(input()) a=1 while a <= n: if a % 2 == 0 and a % 3!=0: print(a) a+=1