Pagini recente » Borderou de evaluare (job #2668210) | Borderou de evaluare (job #3164823) | Borderou de evaluare (job #3279767) | Borderou de evaluare (job #2929499) | Borderou de evaluare (job #1405333)
Borderou de evaluare (job #1405333)
Raport evaluator
Compilare:
user.cpp: In function ‘void addCenters(double, std::pair<double, double>, std::pair<double, double>)’:
user.cpp:56:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if (P1.y = P2.y)
^
user.cpp: In function ‘int main()’:
user.cpp:128:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < points.size(); i++)
^
user.cpp: In function ‘void addCenters(double, std::pair<double, double>, std::pair<double, double>)’:
user.cpp:70:2: warning: ‘B’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (B == 0)
^
user.cpp:87:17: warning: ‘C’ may be used uninitialized in this function [-Wmaybe-uninitialized]
B2 = 2 * B * C;
^
user.cpp:86:18: warning: ‘A’ may be used uninitialized in this function [-Wmaybe-uninitialized]
A2 = B * B + A * A;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 2420kb | Time limit exceeded. | 0 |
Punctaj total | 0 |