Borderou de evaluare (job #3252518)

Utilizator LucaMihaiLM10Luca Ilie LucaMihaiLM10 Data 29 octombrie 2024 19:59:24
Problema Demolish Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp:20:21: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+15' to '2147483647' [-Woverflow] 20 | const int MAX_SUM = 1e15; | ^~~~ main.cpp: In function 'int main()': main.cpp:132:72: warning: 'col' may be used uninitialized [-Wmaybe-uninitialized] 132 | cout << lin - dx << " " << col - dy << " " << lin << " " << col << "\n"; | ^~~~ main.cpp:119:14: note: 'col' was declared here 119 | int lin, col; | ^~~ main.cpp:132:58: warning: 'lin' may be used uninitialized [-Wmaybe-uninitialized] 132 | cout << lin - dx << " " << col - dy << " " << lin << " " << col << "\n"; | ^~~ main.cpp:119:9: note: 'lin' was declared here 119 | int lin, col; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
33ms1208kbOK!10
44ms1851kbOK!10
519ms5996kbOK!10
638ms13348kbOK!10
771ms37519kbOK!10
891ms66076kbMemory limit exceeded0
972ms66265kbMemory limit exceeded0
109ms1216kbCost gresit!0
Punctaj total70

Ceva nu functioneaza?