All about problems in Volume 112. If there is a thread about your problem, please use it. If not, create one with its number in the subject.
Moderator: Board moderators
-
hamedv
- Learning poster
- Posts: 98
- Joined: Mon May 07, 2007 8:30 am
Post
by hamedv »
What's wrong with my code?
I got WA several times;
Last edited by
hamedv on Sun Jun 10, 2007 6:34 pm, edited 1 time in total.
-
helloneo
- Guru
- Posts: 516
- Joined: Mon Jul 04, 2005 6:30 am
- Location: Seoul, Korea
Post
by helloneo »
Try this case..
My output is..
-
hamedv
- Learning poster
- Posts: 98
- Joined: Mon May 07, 2007 8:30 am
Post
by hamedv »
I changed my code
but i got WA
Last edited by
hamedv on Sun Jun 10, 2007 6:33 pm, edited 1 time in total.
-
sunny
- Experienced poster
- Posts: 124
- Joined: Sun Sep 11, 2005 10:22 pm
- Location: Civil-BUET
Post
by sunny »
-
bishop
- New poster
- Posts: 43
- Joined: Fri May 04, 2007 12:57 pm
Post
by bishop »
i cannot find any solution
why that is WA
i checked all the input
all right
Last edited by
bishop on Sun Jun 10, 2007 11:40 pm, edited 1 time in total.
-
jan_holmes
- Experienced poster
- Posts: 136
- Joined: Fri Apr 15, 2005 3:47 pm
- Location: Singapore
-
Contact:
Post
by jan_holmes »
Try this input :
The output should be :
-
bishop
- New poster
- Posts: 43
- Joined: Fri May 04, 2007 12:57 pm
Post
by bishop »
but still WA
ur input
is correct for
this code
Last edited by
bishop on Sun Jun 10, 2007 11:39 pm, edited 1 time in total.
-
jan_holmes
- Experienced poster
- Posts: 136
- Joined: Fri Apr 15, 2005 3:47 pm
- Location: Singapore
-
Contact:
Post
by jan_holmes »
Then, check for this one :
The output should be :
EDIT : Sorry, It should be "Check birth date"
-
bishop
- New poster
- Posts: 43
- Joined: Fri May 04, 2007 12:57 pm
Post
by bishop »
it
is checked
what should i do wit it
Last edited by
bishop on Sun Jun 10, 2007 11:39 pm, edited 1 time in total.
-
jan_holmes
- Experienced poster
- Posts: 136
- Joined: Fri Apr 15, 2005 3:47 pm
- Location: Singapore
-
Contact:
Post
by jan_holmes »
-
bishop
- New poster
- Posts: 43
- Joined: Fri May 04, 2007 12:57 pm
Post
by bishop »
yaa that was fault
if(m1>=m2)
printf("0\n");
else
printf("Invalid birth date\n
still WA
-
jan_holmes
- Experienced poster
- Posts: 136
- Joined: Fri Apr 15, 2005 3:47 pm
- Location: Singapore
-
Contact:
Post
by jan_holmes »
How 'bout this one :
Output :
-
bishop
- New poster
- Posts: 43
- Joined: Fri May 04, 2007 12:57 pm
Post
by bishop »
my code could not give any ans
for same date
but now it gives
still WA
Last edited by
bishop on Sun Jun 10, 2007 11:38 pm, edited 1 time in total.
-
jan_holmes
- Experienced poster
- Posts: 136
- Joined: Fri Apr 15, 2005 3:47 pm
- Location: Singapore
-
Contact:
Post
by jan_holmes »
Hmmm.... Check this also :
Output :
-
bishop
- New poster
- Posts: 43
- Joined: Fri May 04, 2007 12:57 pm
Post
by bishop »
at last
accepted
the ACM 11219
thanx jan_holmes
for giving input
and output
which help me
