Borderou de evaluare (job #3303528)

Utilizator Andrei-Dani-10Pisla Andrei Daniel Andrei-Dani-10 Data 16 iulie 2025 11:15:08
Problema Culori3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void showdg(int)': main.cpp:14:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 14 | for(int b = base / 10; b >= 1; b /= 10) | ^~~ main.cpp:15:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | out<<((x / b) % 10); return; | ^~~~~~ main.cpp: In member function 'void biggint::operator=(int)': main.cpp:22:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 22 | for(int i = 1; i <= x[0]; i++) x[i] = 0; x[0] = 0; | ^~~ main.cpp:22:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 22 | for(int i = 1; i <= x[0]; i++) x[i] = 0; x[0] = 0; | ^ main.cpp: In member function 'void biggint::operator=(const biggint&)': main.cpp:28:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 28 | for(int i = 1; i <= x[0]; i++) x[i] = 0; x[0] = 0; | ^~~ main.cpp:28:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 28 | for(int i = 1; i <= x[0]; i++) x[i] = 0; x[0] = 0; | ^ main.cpp: In member function 'void biggint::show()': main.cpp:42:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 42 | for(int i = x[0] - 1; i >= 1; i--) | ^~~ main.cpp:43:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 43 | showdg(x[i]); out<<"\n"; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK5
20ms303kbOK5
30ms303kbOK5
40ms303kbOK5
50ms303kbOK5
60ms303kbOK5
70ms303kbOK5
80ms303kbOK5
90ms303kbOK5
100ms303kbOK5
111ms303kbOK5
121ms303kbOK5
132ms303kbOK5
143ms303kbOK5
154ms303kbOK5
160ms303kbOK5
170ms303kbOK5
180ms303kbOK5
190ms303kbOK5
203ms303kbOK5
Punctaj total100

Ceva nu functioneaza?