ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1877
. Bicycle Codes
Accepted in C
Posted by
Shaykh Siddique
18 Apr 2016 16:43
#include<stdio.h>
int main(void){
int a, b;
scanf("%d %d", &a, &b);
if(a%2==0 || b%2!=0)
puts("yes");
else if(a%2!=0 || b%2==0)
puts("no");
return 0;
}
Re: Accepted in C
Posted by
1508090114
12 Jan 2017 14:32
else puts("no");
is enough
© 2000–2024
Timus Online Judge Team
. All rights reserved.