Borderou de evaluare (job #857060)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Acoperire | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 7 mar. 2026 15:05:09 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:23: warning: left operand of comma operator has no effect [-Wunused-value]
12 | for (int i = 2; i < 0, i++)
| ~~^~~
main.cpp:12:31: error: expected ';' before ')' token
12 | for (int i = 2; i < 0, i++)
| ^
| ;
main.cpp:10:16: warning: unused variable 'mc' [-Wunused-variable]
10 | int n,m,nc,mc,nrc,c;
| ^~
main.cpp:10:23: warning: unused variable 'c' [-Wunused-variable]
10 | int n,m,nc,mc,nrc,c;
| ^