Dūmų pranešimas

Taškai: 0

Compile: FAIL

dumai.cpp: In function ‘long double squareDistance(int, int)’: dumai.cpp:21: error: ‘sqrtl’ was not declared in this scope dumai.cpp: In function ‘bool isTriangle(int, int, int)’: dumai.cpp:25: error: in C++98 ‘distances’ must be initialized by constructor, not by ‘{...}’ dumai.cpp:25: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x dumai.cpp:25: error: deducing from brace-enclosed initializer list requires #include <initializer_list> dumai.cpp:25: error: no matching function for call to ‘std::vector<long double, std::allocator<long double> >::vector(<brace-enclosed initializer list>)’ /usr/include/c++/4.4/bits/stl_vector.h:241: note: candidates are: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = long double, _Alloc = std::allocator<long double>] /usr/include/c++/4.4/bits/stl_vector.h:207: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = long double, _Alloc = std::allocator<long double>]

nr.resulttimemessage