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 1405. Goat in the Garden 5

2 Admins (one more question about C-compiler)
Posted by Teacher30 14 Feb 2009 22:18
View submissions
2451935 - WA-1
2451940 - AC

The only differ is language. C or C++.
Explain, please, this effect.
Re: 2 Admins (one more question about C-compiler)
Posted by Vladimir Yakovlev (USU) 16 Feb 2009 02:47
It's because of /Za switch. The compiler produces the following warning about the hypot function call in the case of C language:
warning #266: function declared implicitly
Re: 2 Admins (one more question about C-compiler)
Posted by Teacher30 16 Feb 2009 17:47
Thank you! :)

Hm... Funny "warning". It'd be better to get smth like "error: unresolved external symbol _hypot" )