Delhi's Odd Even Problem

int main() {
int N;
cin>>N;
int num;
while(N!=0){
int evensum = 0, oddsum=0;
cin>>num;
while(num!=0){
int rem = num%10;
if(rem%2==0){
evensum= evensum+rem;
}
else{
oddsum = oddsum + rem;
}
num = num/10;
}
if(evensum%4==0 or oddsum%3==0){
cout<<“Yes”<<endl;
}
else{
cout<<“No”;
}
N = N-1;
}
return 0;
}
/* I got the output as TESTCASE # 1 : wrong-answer (Time: 0 s)*/
/*where did i wrong */

@rajsaxena.personal I think you’re forgot to put endline and declare num to inside the test case loop

even though I after put the endl; keyword in the code I also get the same error

@rajsaxena.personal hey raj saxena see this
modified code