Borderou de evaluare (job #3278931)

Utilizator andrei_nAndrei Nicolae andrei_n Data 21 februarie 2025 13:22:59
Problema Castel3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 85

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:89:40: warning: 'col1' may be used uninitialized [-Wmaybe-uninitialized] 89 | fout << lin1 << " " << col1 << " " << lin2 << " " << col2; | ^~~ main.cpp:59:53: note: 'col1' was declared here 59 | int camcrt = 0, aria, ariamax = -1, lin1, lin2, col1, col2; | ^~~~ main.cpp:89:25: warning: 'lin1' may be used uninitialized [-Wmaybe-uninitialized] 89 | fout << lin1 << " " << col1 << " " << lin2 << " " << col2; | ^~~ main.cpp:59:41: note: 'lin1' was declared here 59 | int camcrt = 0, aria, ariamax = -1, lin1, lin2, col1, col2; | ^~~~ main.cpp:89:62: warning: 'col2' may be used uninitialized [-Wmaybe-uninitialized] 89 | fout << lin1 << " " << col1 << " " << lin2 << " " << col2; | ^~~~ main.cpp:59:59: note: 'col2' was declared here 59 | int camcrt = 0, aria, ariamax = -1, lin1, lin2, col1, col2; | ^~~~ main.cpp:89:55: warning: 'lin2' may be used uninitialized [-Wmaybe-uninitialized] 89 | fout << lin1 << " " << col1 << " " << lin2 << " " << col2; | ^~~ main.cpp:59:47: note: 'lin2' was declared here 59 | int camcrt = 0, aria, ariamax = -1, lin1, lin2, col1, col2; | ^~~~ main.cpp:65:13: warning: 'aria' may be used uninitialized [-Wmaybe-uninitialized] 65 | if (aria > ariamax) | ^~ main.cpp:59:21: note: 'aria' was declared here 59 | int camcrt = 0, aria, ariamax = -1, lin1, lin2, col1, col2; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbCorect2
21ms303kbCorect5
31ms303kbCorect3
40ms303kbCorect5
51ms303kbCorect5
61ms303kbCorect5
72ms303kbCorect5
80ms303kbCorect5
91ms303kbCorect5
102ms303kbIncorect0
111ms303kbCorect5
121ms303kbIncorect0
131ms303kbCorect5
140ms303kbCorect5
150ms303kbCorect5
161ms303kbCorect5
171ms303kbCorect5
181ms303kbIncorect0
191ms479kbCorect5
202ms303kbCorect5
211ms303kbCorect5
Punctaj total85

Ceva nu functioneaza?