Borderou de evaluare (job #2784782)
Utilizator | Data | 17 octombrie 2021 13:05:50 | |
---|---|---|---|
Problema | Vila | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:9:25: error: expected primary-expression before ')' token
9 | if (a[i - 1][j] == -)
| ^
main.cpp:14:25: error: expected primary-expression before ')' token
14 | if (a[i][j - 1] == -)
| ^
main.cpp:19:25: error: expected primary-expression before ')' token
19 | if (a[i + 1][j] == -)
| ^
main.cpp:24:25: error: expected primary-expression before ')' token
24 | if (a[i][j + 1] == -)
| ^
main.cpp: In function 'int main()':
main.cpp:45:34: error: expected identifier before '!' token
45 | if (a[i][j] == - and !vis[i][j])
| ^
main.cpp:45:33: error: expected ')' before '!' token
45 | if (a[i][j] == - and !vis[i][j])
| ~ ^~
| )
main.cpp:36:15: warning: unused variable 'h' [-Wunused-variable]
36 | int n, m, h, k, cnt = 0, maxx = 0;
| ^
main.cpp:36:18: warning: unused variable 'k' [-Wunused-variable]
36 | int n, m, h, k, cnt = 0, maxx = 0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !