Search found 6 matches

by marufsharif
Sun Jul 28, 2013 7:28 am
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48316

Re: 490 - Rotating Sentence

Post Remove, After Accept
by marufsharif
Thu Jul 25, 2013 9:45 am
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48316

Re: 490 - Rotating Sentence

thanks
by marufsharif
Wed Jul 24, 2013 5:52 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 49712

Re: [11219 - How old are you?] Wrong Answer!! Plz help me

@aybek
Thank you for your quick response. :D
by marufsharif
Wed Jul 24, 2013 1:35 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 48316

490 - Rotating Sentence

.
by marufsharif
Mon Jul 22, 2013 10:29 am
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 49712

Re: [11219 - How old are you?] Wrong Answer!! Plz help me

@aybek
Thanks for your reply.
My problem is that my code [for 11219 - How old are you? problem] properly generate output as the problem is required.
But I'm failed every time when i submit my code, and i got wrong answer many times. :cry:
I get WA when i tried to print Last line with space and ...
by marufsharif
Sun Jul 21, 2013 1:44 pm
Forum: Volume 112 (11200-11299)
Topic: 11219 - How old are you?
Replies: 117
Views: 49712

[11219 - How old are you?] Wrong Answer!! Plz help me

my code is below:
#include <stdio.h>

int main(void)
{
int tC, i, cDD, cMM, cYY, bDD, bMM, bYY, day, month, year;

scanf("%d", &tC);

for(i=0; i<tC; i++)
{
scanf("%d/%d/%d", &cDD, &cMM, &cYY);
scanf("%d/%d/%d", &bDD, &bMM, &bYY);

if(cDD<bDD)
{
day = (cDD+30) - bDD;
cMM--;
}
else
day ...

Go to advanced search