Yellow check mark (special correction blah..blah..)

Write here if you have problems with your C source code

Moderator: Board moderators

Yellow check mark (special correction blah..blah..)

Postby Joseph Kurniawan » Mon Aug 04, 2003 5:43 pm

Anybody know what that means ?
Joseph Kurniawan
Experienced poster
 
Posts: 136
Joined: Tue Apr 01, 2003 6:59 am
Location: Jakarta, Indonesia

Postby Krzysztof Duleba » Thu Aug 14, 2003 3:25 am

I'm not sure what you mean.
User avatar
Krzysztof Duleba
Guru
 
Posts: 584
Joined: Thu Jun 19, 2003 3:48 am
Location: Sanok, Poland

Postby UFP2161 » Thu Aug 14, 2003 3:33 am

Usually means that there are potentially several correct solutions to a problem, and that any one of them will do, and the program they wrote will check that your answers are indeed correct, or something along those lines..
User avatar
UFP2161
A great helper
 
Posts: 277
Joined: Mon Jul 21, 2003 7:49 pm

Postby Joseph Kurniawan » Thu Aug 14, 2003 10:12 am

But in prob 453 - INtersecting Circles, there is only one correct answer for every set of input, and yet the problem has yellow check mark????
Joseph Kurniawan
Experienced poster
 
Posts: 136
Joined: Tue Apr 01, 2003 6:59 am
Location: Jakarta, Indonesia

Postby UFP2161 » Thu Aug 14, 2003 3:52 pm

Since it's a floating point problem, it's probably to give a +/- some epsilon to the answer, so it's not too strict.
User avatar
UFP2161
A great helper
 
Posts: 277
Joined: Mon Jul 21, 2003 7:49 pm

Postby Joseph Kurniawan » Fri Aug 15, 2003 3:58 pm

What's epsilon? I don't understand :oops: :oops:
I'm new to these kind of stuff. I'm 18 this year and have just learned in uni. I first learn these kind of stuff (computer language) one year ago (Last Sept 2002 to be precise). Before that I only know how to operate Microsoft Winword and play games. I don't even know how to operate Excel, Powerpoint ,etc. :oops: :oops:
Joseph Kurniawan
Experienced poster
 
Posts: 136
Joined: Tue Apr 01, 2003 6:59 am
Location: Jakarta, Indonesia

Postby UFP2161 » Sat Aug 16, 2003 12:52 am

Oh, epsilon in mathematics is usually used to refer to a very very tiny number, and generally, in computer science 10^-6 or 10^-9 is generally considered an appropriate +/- error for floating point numbers.

So, one could say that a number 1.000000 is more or less the same as 0.999999 or 1.000001 when you are using floating point numbers. That is, there is some margin of error that the special correction program allows.
User avatar
UFP2161
A great helper
 
Posts: 277
Joined: Mon Jul 21, 2003 7:49 pm

Postby Joseph Kurniawan » Sun Aug 17, 2003 6:33 am

Thanks UFP2161, that clears the whole things up now!!!
Joseph Kurniawan
Experienced poster
 
Posts: 136
Joined: Tue Apr 01, 2003 6:59 am
Location: Jakarta, Indonesia


Return to C

Who is online

Users browsing this forum: No registered users and 0 guests