ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1020. Rope

Math functions
Posted by Mihail Popa 14 Oct 2001 01:48
Compiling my C source under linux I get errors from the
linker concerning undefined references to sqrt and fabs.
Any idea on a directive to fix this? (something like a
#pragma)

Mihai
Re: Math functions
Posted by Vadim Oreshkin 6 Dec 2001 19:24
> Compiling my C source under linux I get errors from the
> linker concerning undefined references to sqrt and fabs.
> Any idea on a directive to fix this? (something like a
> #pragma)
>
> Mihai

Try to link your source with libm.so (gcc .c -lm )