Borderou de evaluare (job #3363447)
| Utilizator | Data | 18 august 2026 10:06:17 | |
|---|---|---|---|
| Problema | Becuri | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool verific(int*, int*)':
main.cpp:14:21: error: 'n' was not declared in this scope
14 | for(int i=1; i<=n; i++)
| ^
main.cpp:18:21: error: 'm' was not declared in this scope
18 | for(int j=1; j<=m; j++)
| ^
main.cpp:24:21: error: 'n' was not declared in this scope
24 | for(int i=1; i<=n; i++)
| ^
main.cpp:26:25: error: 'm' was not declared in this scope
26 | for(int j=1; j<=m; j++)
| ^
main.cpp: In function 'int construieste(int*, int*)':
main.cpp:36:21: error: 'n' was not declared in this scope
36 | for(int i=1; i<=n; i++)
| ^
main.cpp:38:25: error: 'm' was not declared in this scope
38 | for(int j=1; j<=m; j++)
| ^
main.cpp:47:25: error: 'm' was not declared in this scope
47 | for(int j=1; j<=m; j++)
| ^
main.cpp:54:29: error: 'm' was not declared in this scope
54 | for(int j=1; j<=m; j++)
| ^
main.cpp:71:30: error: 'm' was not declared in this scope
71 | while(j<=m && !x[i][j])
| ^
main.cpp:105:29: error: 'm' was not declared in this scope
105 | for(int j=1; j<=m; j++)
| ^
main.cpp:117:29: error: 'm' was not declared in this scope
117 | for(int j=1; j<=m; j++)
| ^
main.cpp:125:13: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
125 | int main()
| ^~
main.cpp:125:13: note: remove parentheses to default-initialize a variable
125 | int main()
| ^~
| --
main.cpp:125:13: note: or replace parentheses with braces to value-initialize a variable
main.cpp:126:5: error: a function-definition is not allowed here before '{' token
126 | {
| ^
main.cpp:291:6: error: expected '}' at end of input
291 | }
| ^
main.cpp:35:1: note: to match this '{'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
