Borderou de evaluare (job #1389393)
Utilizator | Data | 16 martie 2015 11:13:05 | |
---|---|---|---|
Problema | Cuplaj maxim in graf bipartit | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:11: error: variable ‘std::ifstream f’ has initializer but incomplete type
ifstream f("cuplaj.in");
^
user.cpp:7:11: error: variable ‘std::ofstream g’ has initializer but incomplete type
ofstream g("cuplaj.out");
^
user.cpp: In function ‘int Cupleaza(int)’:
user.cpp:13:9: error: ‘U’ was not declared in this scope
if (U[nod])
^
user.cpp:15:5: error: ‘U’ was not declared in this scope
U[nod]=1;
^
user.cpp:16:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (k=0; k<G[nod].size(); ++k)
^
user.cpp:17:14: error: ‘st’ was not declared in this scope
if (!st[G[nod][k] || Cupleaza(st[G[nod][k]))
^
user.cpp:17:51: error: expected ‘]’ before ‘)’ token
if (!st[G[nod][k] || Cupleaza(st[G[nod][k]))
^
user.cpp:17:52: error: expected ‘]’ before ‘)’ token
if (!st[G[nod][k] || Cupleaza(st[G[nod][k]))
^
user.cpp:18:13: error: ‘dr’ was not declared in this scope
{ dr[nod]=G[nod][k];
^
user.cpp: In function ‘int main()’:
user.cpp:26:8: error: ‘n1’ was not declared in this scope
{ f>>n1>>n2>>m;
^
user.cpp:26:12: error: ‘n2’ was not declared in this scope
{ f>>n1>>n2>>m;
^
user.cpp:26:16: error: ‘m’ was not declared in this scope
{ f>>n1>>n2>>m;
^
user.cpp:28:12: error: ‘i’ was not declared in this scope
{ f>>i>>j;
^
user.cpp:28:15: error: ‘j’ was not declared in this scope
{ f>>i>>j;
^
user.cpp:32:10: error: ‘i’ was not declared in this scope
for (i=1; i<=n1; ++i)
^
user.cpp:33:14: error: ‘dr’ was not declared in this scope
if (!dr[i])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !