Pagini recente » Borderou de evaluare (job #3242786) | Borderou de evaluare (job #3214405) | Borderou de evaluare (job #2902207) | Borderou de evaluare (job #1321241) | Borderou de evaluare (job #2747277)
Borderou de evaluare (job #2747277)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:108: warning: 'res2.pt::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
g << fixed << setprecision(8) << min(abs(p.x - res1.x) + abs(p.y - res1.y), abs(p.x - res2.x) + abs(p.y - res2.y)) << '\n';
~~~^~~~~~~~~~~~~~
main.cpp:52:69: warning: 'res1.pt::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
g << fixed << setprecision(8) << min(abs(p.x - res1.x) + abs(p.y - res1.y), abs(p.x - res2.x) + abs(p.y - res2.y)) << '\n';
~~~^~~~~~~~~~~~~~
main.cpp:52:88: warning: 'res2.pt::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
g << fixed << setprecision(8) << min(abs(p.x - res1.x) + abs(p.y - res1.y), abs(p.x - res2.x) + abs(p.y - res2.y)) << '\n';
~~~^~~~~~~~~~~~~~
main.cpp:52:49: warning: 'res1.pt::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
g << fixed << setprecision(8) << min(abs(p.x - res1.x) + abs(p.y - res1.y), abs(p.x - res2.x) + abs(p.y - res2.y)) << '\n';
~~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 9ms | 131kb | OK | 100 |
Punctaj total | 100 |