Wrong Answer
Code
t=int(input())
u=0
for i in range(t):
n=int(input())
a=list(map(int,input().split()))
for k in a:
if k%3==0:
u+=1
elif k==0 :
u+=1
print(u)
Information
- Submit By
- Type
- Submission
- Problem
- P1013 Divisible by 3
- Contest
- Brain booster - 1
- Language
- Python 3 (Python 3.12.3)
- Submit At
- 2023-12-31 16:41:38
- Judged At
- 2024-11-11 03:45:03
- Judged By
- Score
- 0
- Total Time
- 14ms
- Peak Memory
- 3.062 MiB