My issue
runtime error
My code
#include <stdio.h>
int main() {
// your code goes here
int t;
int flag=0;
scanf("%d",&t);
while(t--)
{
int N;
scanf("%d",&N);
char s[N];
for(int i=0;i<N;i++){
scanf("%c",&s[i]);
}
char c[]={'a','e','i','o','u'};
for(int i=0;i<5;i++){
for(int j=0;j<=4;i++){
if(c[i]==s[j]){
flag = 1;
break;
}
}
}
if(flag==1){
printf("YES");
}
else{
printf("NO");
}
}
return 0;
}
Learning course: Roadmap to 3*
Problem Link: https://www.codechef.com/learn/course/klu-roadmap-3star/KLURMP300A/problems/EZSPEAK