Timus online judge 1877. Bicycle Codes
A solution in c++
#include <cstdio>
#include <cstdlib>
using namespace std;
int main(){
char s[5];
int x,y;
scanf("%s",s);
x = atoi(s);
scanf("%s",s);
y = atoi(s);
if(x % 2 == 0 || y % 2 == 1) puts("yes");
else puts("no");
return 0;
}
0 Comments
If you have any doubts, Please let me know