172 - Calculator Language

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

Moderator: Board moderators

chunyi81
A great helper
Posts: 293
Joined: Sat Jun 21, 2003 4:19 am
Location: Singapore

Post by chunyi81 »

Yes. Finally get AC. :D

Tonedog1980
New poster
Posts: 2
Joined: Tue Jan 16, 2007 9:43 am

Problem 172 Error Signal 8

Post by Tonedog1980 »

I am getting an error called Signal 8. It says "Floating point exception Before crash, it ran during 0.008 seconds." What does that mean? I run it and don't get any error, and we are not supposed to have anything other than whole numbers, so.....

mf
Guru
Posts: 1244
Joined: Mon Feb 28, 2005 4:51 am
Location: Zürich, Switzerland
Contact:

Post by mf »

It could be caused by a division by zero.

Tonedog1980
New poster
Posts: 2
Joined: Tue Jan 16, 2007 9:43 am

Post by Tonedog1980 »

I tried that but that wasn' it. Anyone else have any ideas?

yiuyuho
A great helper
Posts: 325
Joined: Thu Feb 21, 2002 2:00 am
Location: United States
Contact:

Post by yiuyuho »

What extactly did you tried?

rafastv
New poster
Posts: 22
Joined: Tue Jun 19, 2007 3:18 am

Re: 172 - Calculator Language

Post by rafastv »

Hi, there, a tip for you: operators should be evaluated from right to left, but brackets should be evaluated from left to right.

Cheers.

Post Reply

Return to “Volume 1 (100-199)”