### My issue

### My code

```
# cook your dish here
t = int(input())
for i in range(t):
N = int(input())
D = list(input())
```

Problem Link: TODOLIST Problem - CodeChef

```
# cook your dish here
t = int(input())
for i in range(t):
N = int(input())
D = list(input())
```

Problem Link: TODOLIST Problem - CodeChef

In this problem statement, we need to calculate how many problems have a rating of greater than or equals to 1000. To do this, we simply iterate over the array and check the given condition and print the count.

Here is my code for reference.

```
# cook your dish here
for _ in range(int(input())):
n=int(input())
d=list(map(int,input().split()))
c=0
for i in d:
if(i>=1000):
c+=1
print(c)
```

1 Like