Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main(){
- int n;
- cin>>n;
- while (n>0)
- {
- int a,ile;
- cin>>a;
- int tab1[a];
- for(int i=a;i>0;i--){
- int x;
- cin>>x;
- tab1[i]=x;
- }
- for(int i=a;i>0;i--){
- if(tab1[i]>=10){
- ile++;
- }
- }
- cout<<ile<<endl;
- n--;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement