Borderou de evaluare (job #2306666)
| Utilizator | Data | 22 decembrie 2018 18:29:15 | |
|---|---|---|---|
| Problema | Componente tare conexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'vector' does not name a type
vector<int> s[N],u[N],v[N];
^~~~~~
main.cpp: In function 'void A(int)':
main.cpp:12:15: error: 'u' was not declared in this scope
for(b[i]=1,k=u[i].size(),j=0;j<k;j++)
^
main.cpp: In function 'void B(int)':
main.cpp:21:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
for(b[i]=j=0,k=v[i].size();j<k;j++)
~^~
main.cpp:21:17: error: 'v' was not declared in this scope
for(b[i]=j=0,k=v[i].size();j<k;j++)
^
main.cpp:23:5: error: 's' was not declared in this scope
s[r].push_back(i);
^
main.cpp: In function 'int main()':
main.cpp:29:26: error: 'u' was not declared in this scope
scanf("%d%d",&x,&y),u[x].push_back(y),v[y].push_back(x);
^
main.cpp:29:44: error: 'v' was not declared in this scope
scanf("%d%d",&x,&y),u[x].push_back(y),v[y].push_back(x);
^
main.cpp:37:9: error: 's' was not declared in this scope
for(c=s[i].size(),j=0;j<c;j++)
^
main.cpp:27:82: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.in","r",stdin),freopen("ctc.out","w",stdout),scanf("%d%d",&n,&m);
^
main.cpp:27:82: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
main.cpp:27:82: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
