10101 - Bangla Numbers
Moderator: Board moderators
10101 - Bangla Numbers
Can somebody help me ??? I don't know what's wrong with my program, but it always had wrong answer.
What did I miss ???
if the input is 700 then we should print 7 shata and if the input is 7000000000 then we should print 7 shata too ??????
I think that one is the most suspicious thing that I might wrong.
Can anyone help me ????
Something hidden ????? Please reveal the secret to me..........
thx..
What did I miss ???
if the input is 700 then we should print 7 shata and if the input is 7000000000 then we should print 7 shata too ??????
I think that one is the most suspicious thing that I might wrong.
Can anyone help me ????
Something hidden ????? Please reveal the secret to me..........
thx..
----------------------------------
When There's a Will, There's a Way
When There's a Will, There's a Way
sorry..
I have found my problem...
it was just because I didn't consider the '0' character in front of the number.. so be careful.. the input can looks like this : 0000104
ok.
I still didn't know why I got P.E.
At least it consider accepted.
I have found my problem...
it was just because I didn't consider the '0' character in front of the number.. so be careful.. the input can looks like this : 0000104
ok.
I still didn't know why I got P.E.
At least it consider accepted.
----------------------------------
When There's a Will, There's a Way
When There's a Will, There's a Way
10101 Bangla Numbers
I couldn't find any mistake in this program. If anyone can find the problem I will be very much obliged.
I have tried all the possible input's i could guess.
<font size=-1>[ This Message was edited by: likhan on 2001-12-21 08:23 ]</font>
I have tried all the possible input's i could guess.
<font size=-1>[ This Message was edited by: likhan on 2001-12-21 08:23 ]</font>
-
- New poster
- Posts: 1
- Joined: Thu Nov 22, 2001 2:00 am
- Location: Bangladesh
- Contact:
would anyone pls give me the output for:
999999999999999
101010101010101
010101010101010
100000000000001
i get WA, but don't know what's wrong.
my output is:
1. 9 kuti kuti 99 lakh 99 hajar 9 shata 99 kuti 99 lakh 99 hajar 9 shata 99
2. 1 kuti kuti 1 lakh 1 hajar 10 kuti 10 lakh 10 hajar 1 shata 1
3. 10 lakh 10 hajar 1 shata 1 kuti 1 lakh 1 hajar 10
4. 1 kuti kuti 1
are they correct?
999999999999999
101010101010101
010101010101010
100000000000001
i get WA, but don't know what's wrong.
my output is:
1. 9 kuti kuti 99 lakh 99 hajar 9 shata 99 kuti 99 lakh 99 hajar 9 shata 99
2. 1 kuti kuti 1 lakh 1 hajar 10 kuti 10 lakh 10 hajar 1 shata 1
3. 10 lakh 10 hajar 1 shata 1 kuti 1 lakh 1 hajar 10
4. 1 kuti kuti 1
are they correct?
-
- Guru
- Posts: 724
- Joined: Wed Dec 19, 2001 2:00 am
- Location: Germany
What is wrong? HELP NEEDED
Could someone tell me what are the proper answers for the followin input data:
1000000
10000000000
1000000000000101
I have the following answers:
1. 10 lakh (3 spaces before '1.', no spaces after lakh)
2. 1 hajar kuti
3. 10 kuti kuti 1 shata 1
is this wrong? I got WA
PLEASE HELP!!!!!
1000000
10000000000
1000000000000101
I have the following answers:
1. 10 lakh (3 spaces before '1.', no spaces after lakh)
2. 1 hajar kuti
3. 10 kuti kuti 1 shata 1
is this wrong? I got WA

PLEASE HELP!!!!!

Re: What is wrong? HELP NEEDED
No, the above is fine. There is one trick to be careful of though...Magus wrote:Could someone tell me what are the proper answers for the followin input data:
1000000
10000000000
1000000000000101
I have the following answers:
1. 10 lakh (3 spaces before '1.', no spaces after lakh)
2. 1 hajar kuti
3. 10 kuti kuti 1 shata 1
is this wrong? I got WA
PLEASE HELP!!!!!
THE INPUT DATA IS WRONG!

-
- Experienced poster
- Posts: 106
- Joined: Sun Feb 17, 2002 2:00 am
- Location: Seoul, South Korea
- Contact:
trick..
Some of valladolid problems have these tricky trap.
I think that problems should be tested by programmer's algorithm and
thinking power, not an unfair trick. Because it's a programming contest,
not a discretion test . -_-
All problems show their restrict options obviously.
I think that problems should be tested by programmer's algorithm and
thinking power, not an unfair trick. Because it's a programming contest,
not a discretion test . -_-
All problems show their restrict options obviously.