Borderou de evaluare (job #3188769)
Utilizator | Data | 3 ianuarie 2024 20:03:02 | |
---|---|---|---|
Problema | Componente biconexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: expected initializer before 'int'
9 | int p,j,n,m,i,r,q[4*N];
| ^~~
main.cpp: In function 'void P(int)':
main.cpp:12:16: error: 'q' was not declared in this scope
12 | c[i]=2,q[++p]=i;
| ^
main.cpp:12:20: error: 'p' was not declared in this scope
12 | c[i]=2,q[++p]=i;
| ^
main.cpp: In function 'void E(int)':
main.cpp:19:14: error: 'f' was not declared in this scope
19 | d[i]=f[i]=++u,c[i]=1;
| ^
main.cpp:25:24: error: 'q' was not declared in this scope
25 | c[i]=2,q[++p]=i,P(j),c[i]=1,q[++p]=0,++r;
| ^
main.cpp:25:28: error: 'p' was not declared in this scope
25 | c[i]=2,q[++p]=i,P(j),c[i]=1,q[++p]=0,++r;
| ^
main.cpp:25:56: error: 'r' was not declared in this scope
25 | c[i]=2,q[++p]=i,P(j),c[i]=1,q[++p]=0,++r;
| ^
main.cpp: In function 'int main()':
main.cpp:31:16: error: 'n' was not declared in this scope; did you mean 'yn'?
31 | for(F>>n>>m;m--;F>>i>>j,g[i].push_back(j),g[j].push_back(i));
| ^
| yn
main.cpp:31:19: error: 'm' was not declared in this scope
31 | for(F>>n>>m;m--;F>>i>>j,g[i].push_back(j),g[j].push_back(i));
| ^
main.cpp:31:28: error: 'i' was not declared in this scope
31 | for(F>>n>>m;m--;F>>i>>j,g[i].push_back(j),g[j].push_back(i));
| ^
main.cpp:31:31: error: 'j' was not declared in this scope
31 | for(F>>n>>m;m--;F>>i>>j,g[i].push_back(j),g[j].push_back(i));
| ^
main.cpp:32:21: error: 'r' was not declared in this scope
32 | for(E(1),G<<r<<'\n',--p;p;q[p]?G<<q[p]<<' ':G<<'\n',--p);
| ^
main.cpp:32:31: error: 'p' was not declared in this scope
32 | for(E(1),G<<r<<'\n',--p;p;q[p]?G<<q[p]<<' ':G<<'\n',--p);
| ^
main.cpp:32:35: error: 'q' was not declared in this scope
32 | for(E(1),G<<r<<'\n',--p;p;q[p]?G<<q[p]<<' ':G<<'\n',--p);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !