10101 - Bangla Numbers

All about problems in Volume 101. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

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

10101 - Bangla Numbers

Post by firex » Sat Nov 03, 2001 10:27 am

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:

Post by firex » Sat Nov 03, 2001 1:10 pm

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

Post by likhan » Mon Nov 19, 2001 2:31 pm

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
Location: Bangladesh
Contact:

Post by Ahmed Shamsul Arefin » Thu Nov 22, 2001 5:08 pm

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

Post by wyvmak » Thu Dec 13, 2001 7:10 pm

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

Post by cyfra » Thu Dec 20, 2001 1:34 pm

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

Post by wyvmak » Sat Dec 22, 2001 8:25 pm

i got PE, at least not WA. thanks a lot.

popel
New poster
Posts: 33
Joined: Fri Mar 15, 2002 2:00 am
Location: Dhaka, Bangladesh
Contact:

Post by popel » Sun Mar 17, 2002 10:57 am

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

Post by FlyDeath » Sun Mar 17, 2002 1:48 pm

What is your answer for "100000000000000"?
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:

Post by ram » Tue Apr 02, 2002 10:54 pm

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>

Adrian Kuegel
Guru
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany

Post by Adrian Kuegel » Wed Apr 03, 2002 8:10 pm

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

Post by Magus » Wed Jun 05, 2002 9:53 am

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!!!!! :cry:

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

Re: What is wrong? HELP NEEDED

Post by Joe Smith » Tue Jul 09, 2002 6:43 am

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!!!!! :cry:
No, the above is fine. There is one trick to be careful of though...

THE INPUT DATA IS WRONG! :evil: 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..

Post by soyoja » Mon Jul 15, 2002 5:10 pm

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

Post by ljb » Wed Oct 09, 2002 10:06 am

why for the input 00 and 000
there is no output ??
why it is not 0? :cry:

Post Reply

Return to “Volume 101 (10100-10199)”