getting tle in this problem . please tell where should i make changes.
#include
using namespace std;
int even=0,odd=0;
void checkoddeven(int d){
if(d%2==0){
even=even+d;
}
else {
odd=odd+d;
}
}
void checksum(int o,int e){
if(o%3==0 || e%4==0){
cout<<“Yes”<<endl;
}
else cout<<“No”<<endl;
}
int main(){
int t;
cin>>t;
while(t){
int carno;
cin>>carno;
int x;
while(carno>0){
x=carno%10;
checkoddeven(x);
carno=carno/10;
}
checksum(odd,even);
}
return 0;
}