|
|
back to boardWhy my code does not work? Any sample input to think? #include<stdio.h> int main(){ int m,n; while(scanf("%d %d",&m,&n) == 2){ if(m == 0 || n == 1){ printf("yes\n"); }else{ printf("no\n"); } } return 0; } Re: Why my code does not work? Any sample input to think? Posted by Declow 5 May 2013 00:42 Why do you use "while" for reading? Re: Why my code does not work? Any sample input to think? |
|
|