ENG  RUSTimus 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

WA In test 14
Posted by Eugene Mironenko 29 Apr 2012 17:05
#include <stdio.h>
int main(){
int code1;
int code2;
scanf("%d\n%d", &code1, &code2);
if(code1 == 0001 || code2 == 0000 || code1 == code2)
printf("no");
else printf("yes");
}

I did not understand the task and made program for first test. Why i have WA in test 14?

Edited by author 29.04.2012 17:06