Page 1 of 1

...::: sqrt :::...

Posted: Fri Nov 19, 2004 12:54 am
by coolzero
Hi.

I'm having problems compiling a program that uses sqrt().

I googled it and I notice that we must use the -lm flag to import the math library...

If I submit a source that need's that flag the judge will accept and use the flag?

If not how can I solve the problem??

Tanks

Posted: Fri Nov 19, 2004 8:46 am
by ..
Why don't you test it yourself?
The judge will compiler it with -lm flag.