Borderou de evaluare (job #1939063)

Utilizator tqmiSzasz Tamas tqmi Data 25 martie 2017 13:42:42
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void read()’: user.cpp:9:10: error: ‘N’ was not declared in this scope fin>>N>>M; ^ user.cpp:9:13: error: ‘M’ was not declared in this scope fin>>N>>M; ^ user.cpp:12:21: error: ‘c’ was not declared in this scope fin.getline(c,100000); ^ user.cpp:22:13: error: ‘G’ was not declared in this scope G[i].push_back(num); ^ user.cpp: In function ‘int pairup(int)’: user.cpp:29:8: error: ‘use’ was not declared in this scope if(use[nod]) ^ user.cpp:31:5: error: ‘use’ was not declared in this scope use[nod]=1; ^ user.cpp:32:19: error: ‘G’ was not declared in this scope for(int i=0;i<G[nod].size();i++) ^ user.cpp:35:13: error: ‘R’ was not declared in this scope if(!R[vecin]) ^ user.cpp:37:13: error: ‘L’ was not declared in this scope L[nod]=vecin; ^ user.cpp:42:19: error: ‘G’ was not declared in this scope for(int i=0;i<G[nod].size();i++) ^ user.cpp:45:19: error: ‘R’ was not declared in this scope if(pairup(R[vecin])) ^ user.cpp:47:13: error: ‘L’ was not declared in this scope L[nod]=vecin; ^ user.cpp: In function ‘void solve()’: user.cpp:64:16: error: ‘use’ was not declared in this scope memset(use,0,sizeof(use)); ^ user.cpp:64:33: error: ‘memset’ was not declared in this scope memset(use,0,sizeof(use)); ^ user.cpp:65:24: error: ‘N’ was not declared in this scope for(int i=1;i<=N;i++) ^ user.cpp:67:17: error: ‘L’ was not declared in this scope if(!L[i])

Ceva nu functioneaza?