problem E: SAMS' contest

Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.

Moderator: Board moderators

Post Reply
hijbul_ctg
New poster
Posts: 8
Joined: Sat Apr 19, 2003 5:41 pm
Contact:

problem E: SAMS' contest

Post by hijbul_ctg »

if you are using c, c++, just use:

C++:
printf("%E\n",ans);
Is it possible to give the output by the above process without losing precision?
szymcio2001
New poster
Posts: 38
Joined: Mon Dec 09, 2002 1:53 pm
Location: Poznan, Poland

Post by szymcio2001 »

I don't now, but I used this code and got WA :-(
Hisoka
Experienced poster
Posts: 120
Joined: Wed Mar 05, 2003 10:40 am
Location: Indonesia

Post by Hisoka »

I use that to solve this problem. :)

for that contest I think judge fix their IO, so more contestant get AC in this problem. so you can check again your statistic in contest, maybe you got AC for this problem. :)
szymcio2001
New poster
Posts: 38
Joined: Mon Dec 09, 2002 1:53 pm
Location: Poznan, Poland

Post by szymcio2001 »

Thanks, you are right. Finally I got Acc.
Post Reply

Return to “Other words”