## 10101 - Bangla Numbers

Moderator: Board moderators

firex
New poster
Posts: 2
Joined: Sat Nov 03, 2001 2:00 am
Location: Indonesia
Contact:

### 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..
----------------------------------
When There's a Will, There's a Way

firex
New poster
Posts: 2
Joined: Sat Nov 03, 2001 2:00 am
Location: Indonesia
Contact:
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.
----------------------------------
When There's a Will, There's a Way

likhan
New poster
Posts: 21
Joined: Tue Nov 06, 2001 2:00 am
Location: Kyliptix Solutions

### 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>

Ahmed Shamsul Arefin
New poster
Posts: 1
Joined: Thu Nov 22, 2001 2:00 am
Contact:
You r a donky man! It's a Bangal magic
you can't find
A new Programmer

wyvmak
Experienced poster
Posts: 110
Joined: Thu Dec 13, 2001 2:00 am
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?

cyfra
Experienced poster
Posts: 144
Joined: Thu Nov 22, 2001 2:00 am
Location: Gdynia, Poland
Hi

I think that there is an error in your 1 and 2 line of output.

there should be
9 kuti 99 lakh.... ( not 9 kuti kuti)
and 1 kuti 1 lakh (not 1 kuti kuti)

wyvmak
Experienced poster
Posts: 110
Joined: Thu Dec 13, 2001 2:00 am
i got PE, at least not WA. thanks a lot.

popel
New poster
Posts: 33
Joined: Fri Mar 15, 2002 2:00 am
Contact:
I think you have missed the result for the input 000.

FlyDeath
Learning poster
Posts: 73
Joined: Wed Jan 02, 2002 2:00 am
Location: Taiwan
I think your program will give you 1 kuti.
But the correct answer is 1 kuti kuti

ram
New poster
Posts: 30
Joined: Wed Mar 06, 2002 2:00 am
Contact:
what should be the output for 000, 00 and 0?
Can any body help me??????

<font size=-1>[ This Message was edited by: ram on 2002-04-02 22:54 ]</font>

Guru
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany
The output is
x. 0
with x the number of input.

Magus
New poster
Posts: 5
Joined: Thu May 09, 2002 9:34 am

### What is wrong? HELP NEEDED

Could someone tell me what are the proper answers for the followin input data:
1000000
10000000000
1000000000000101

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

Joe Smith
New poster
Posts: 26
Joined: Wed Apr 17, 2002 5:56 am

### Re: What is wrong? HELP NEEDED

Magus wrote:Could someone tell me what are the proper answers for the followin input data:
1000000
10000000000
1000000000000101

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

No, the above is fine. There is one trick to be careful of though...

THE INPUT DATA IS WRONG! It says X will be a positive integer, but one of the test cases is X=0. So make sure you output 0 for this case.

soyoja
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.

ljb
New poster
Posts: 2
Joined: Wed Oct 09, 2002 10:03 am
why for the input 00 and 000
there is no output ??
why it is not 0?