Borderou de evaluare (job #3276386)
Utilizator | Data | 13 februarie 2025 15:52:39 | |
---|---|---|---|
Problema | Pamant | 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)':
main.cpp:13:1: error: 'else' without a previous 'if'
13 | else
| ^~~~
main.cpp:22:12: error: 'i' was not declared in this scope
22 | if(i==nodi) nr++;
| ^
main.cpp:22:15: error: 'nodi' was not declared in this scope
22 | if(i==nodi) nr++;
| ^~~~
main.cpp:24:23: error: 'low' cannot be used as a function
24 | low[k]=min(low(k),low(vec));
| ~~~^~~
main.cpp:24:30: error: 'low' cannot be used as a function
24 | low[k]=min(low(k),low(vec));
| ~~~^~~~~
main.cpp:25:26: error: 'i' was not declared in this scope
25 | if(low[vec]>=niv[i])
| ^
main.cpp:31:20: error: 'i' was not declared in this scope
31 | else if(vec!=t[i]) low[k]=min(low[k],low[vec]);
| ^
main.cpp:11:6: warning: unused variable 'vec' [-Wunused-variable]
11 | {int vec;
| ^~~
main.cpp: In function 'int main()':
main.cpp:50:23: error: expected ';' before 'dfs'
50 | rez[++p]=i
| ^
| ;
51 | dfs(i);
| ~~~
main.cpp:52:30: error: 'nodi' was not declared in this scope
52 | if(nr>1) sol[nodi]=1;
| ^~~~
main.cpp:53:26: error: 'nodi' was not declared in this scope
53 | else sol[nodi]=0;
| ^~~~
main.cpp:58:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
58 | for(int i=1;i<=p;++i)
| ^~~
main.cpp:60:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
60 | g<<'\n';
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !