My issue
tell where my code is worng and please correct it
My code
#include<iostream>
#include<string.h>
using namespace std;
int main(){
int T;
cin>>T;
for(int i=0;i<T;i++){
string N;
cin>>N;
int count=0;
int n= N[n];
for(int j=0;j<n;j++){
if(n==n){
cout<<"1"<<endl;
}else{
count++;
}
}
}
return 0;
}
Problem Link: CAPPLE Problem - CodeChef