Borderou de evaluare (job #3293560)

Utilizator Andrei1209Andrei Mircea Andrei1209 Data 11 aprilie 2025 22:56:30
Problema 3secv Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:41:26: warning: 'p2' may be used uninitialized [-Wmaybe-uninitialized] 41 | fout << p1 << " " << p2 << endl; | ^~ main.cpp:15:13: note: 'p2' was declared here 15 | int p1, p2, j; | ^~ main.cpp:41:19: warning: 'p1' may be used uninitialized [-Wmaybe-uninitialized] 41 | fout << p1 << " " << p2 << endl; | ^~~ main.cpp:15:9: note: 'p1' was declared here 15 | int p1, p2, j; | ^~ main.cpp:26:9: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 26 | if ( sol > maxim - minim ) | ^~ main.cpp:16:15: note: 'sol' was declared here 16 | long long sol; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
54ms1081kbOK10
64ms1085kbOK10
75ms1081kbOK10
839ms8208kbOK10
934ms7999kbOK10
1039ms8220kbOK10
Punctaj total100

Ceva nu functioneaza?