Saldainių dalybos

Taškai: 0

Compile: FAIL

saldainiai.cpp: In function ‘int BalancedPartition()’: saldainiai.cpp:39: error: ‘INT_MAX’ was not declared in this scope saldainiai.cpp:47: 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) saldainiai.cpp:49: 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)

nr.resulttimemessage