You are viewing a single comment's thread. Return to all comments →
hey, i ran your same code in C, buy only first testcase is passing. This is my code,could you pleases help with this.
int main() { int i,j,t,n,k,count=0,temp; scanf("%d",&t); for(i=0;i=k) printf("NO\n"); else printf("YES\n"); } return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Angry Professor
You are viewing a single comment's thread. Return to all comments →
piyus
hey, i ran your same code in C, buy only first testcase is passing. This is my code,could you pleases help with this.
int main() { int i,j,t,n,k,count=0,temp; scanf("%d",&t); for(i=0;i=k) printf("NO\n"); else printf("YES\n"); } return 0; }