Borderou de evaluare (job #3252521)

Utilizator LucaMihaiLM10Luca Ilie LucaMihaiLM10 Data 29 octombrie 2024 20:03:29
Problema Demolish Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

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:129:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<update>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 129 | while ( i < updates.size() && updates[i].i == l ) { | ~~^~~~~~~~~~~~~~~~ main.cpp:141:72: warning: 'col' may be used uninitialized [-Wmaybe-uninitialized] 141 | cout << lin - dx << " " << col - dy << " " << lin << " " << col << "\n"; | ^~~~ main.cpp:120:14: note: 'col' was declared here 120 | int lin, col; | ^~~ main.cpp:141:58: warning: 'lin' may be used uninitialized [-Wmaybe-uninitialized] 141 | cout << lin - dx << " " << col - dy << " " << lin << " " << col << "\n"; | ^~~ main.cpp:120:9: note: 'lin' was declared here 120 | int lin, col; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
31ms303kbOK!10
43ms1081kbOK!10
59ms3567kbOK!10
619ms5398kbOK!10
738ms20721kbOK!10
8102ms48939kbTime limit exceeded0
998ms49311kbOK!10
1011ms1445kbCost gresit!0
Punctaj total80

Ceva nu functioneaza?