Robotas
- [1] 2014-01-20 21:23 (0)
- [2] 2014-01-20 21:27 (0)
- [3] 2014-01-20 21:28 (100)
- [4] 2014-01-20 21:30 (100)
Taškai: 0
Compile: FAIL
robotas.cpp: In function ‘int main()’: robotas.cpp:51: error: call of overloaded ‘abs(int&)’ is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) robotas.cpp:51: error: call of overloaded ‘abs(int&)’ is ambiguous /usr/include/c++/4.4/cmath:94: note: candidates are: double std::abs(double) /usr/include/c++/4.4/cmath:98: note: float std::abs(float) /usr/include/c++/4.4/cmath:102: note: long double std::abs(long double) robotas.cpp:54: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
nr. | result | time | message |
---|