Pagini recente » Borderou de evaluare (job #1243250) | Borderou de evaluare (job #2797724) | Borderou de evaluare (job #1783189) | Borderou de evaluare (job #2056672) | Borderou de evaluare (job #1405334)
Borderou de evaluare (job #1405334)
Raport evaluator
Compilare:
user.cpp: In function ‘void addCenters(double, std::pair<double, double>, std::pair<double, double>)’:
user.cpp:57: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:131: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:71:2: warning: ‘B’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (B == 0)
^
user.cpp:73:15: warning: ‘A’ may be used uninitialized in this function [-Wmaybe-uninitialized]
assert(A != 0);
^
user.cpp:90:17: warning: ‘C’ may be used uninitialized in this function [-Wmaybe-uninitialized]
B2 = 2 * B * C;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 2416kb | Time limit exceeded. | 0 |
Punctaj total | 0 |