Borderou de evaluare (job #2556360)

Utilizator betybety bety bety Data 24 februarie 2020 20:42:45
Problema Pe sapte carari Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:1: error: 'vector' does not name a type vector<int> vec[lim],sol,dr; ^~~~~~ main.cpp:11:1: error: 'vector' does not name a type vector<pair<long long,int> > primes,aux; ^~~~~~ main.cpp:12:18: error: 'vector' has not been declared void dfs(int nod,vector<int> drum) ^~~~~~ main.cpp:12:24: error: expected ',' or '...' before '<' token void dfs(int nod,vector<int> drum) ^ main.cpp: In function 'void dfs(int, int)': main.cpp:15:5: error: 'drum' was not declared in this scope drum.push_back(nod); ^~~~ main.cpp:18:23: error: 'primes' was not declared in this scope for(int i=0;i<primes.size();++i) ^~~~~~ main.cpp:19:13: error: 'aux' was not declared in this scope aux[i].second=0; ^~~ main.cpp:23:27: error: 'primes' was not declared in this scope for(int j=0;j<primes.size() and xx>1;++j) ^~~~~~ main.cpp:27:21: error: 'aux' was not declared in this scope aux[j].second++,xx/=primes[j].first; ^~~ main.cpp:30:17: error: 'aux' was not declared in this scope int exp=aux[0].second/primes[0].second; ^~~ main.cpp:30:31: error: 'primes' was not declared in this scope int exp=aux[0].second/primes[0].second; ^~~~~~ main.cpp:36:13: error: 'sol' was not declared in this scope sol.clear(); ^~~ main.cpp:44:19: error: 'vec' was not declared in this scope for(int i=0;i<vec[nod].size();++i) ^~~ main.cpp: In function 'int main()': main.cpp:57:9: error: 'primes' was not declared in this scope primes.push_back({d,0}); ^~~~~~ main.cpp:58:9: error: 'aux' was not declared in this scope aux.push_back({d,0}); ^~~ main.cpp:63:5: error: 'primes' was not declared in this scope primes.push_back({k,1}); ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?