Search found 6 matches
- 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
- 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
- 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.
Thank you for your quick response.

- Wed Jul 24, 2013 1:35 pm
- Forum: Volume 4 (400-499)
- Topic: 490 - Rotating Sentences
- Replies: 212
- Views: 48316
- 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 ...
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 ...
- 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 ...
#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 ...