Borderou de evaluare (job #1524190)

Utilizator cristinalibotean177Libotean Cristina cristinalibotean177 Data 13 noiembrie 2015 17:10:34
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:43:20: warning: multi-character character constant [-Wmultichar] fout<<find(x)<<'/n'; ^ user.cpp:5:1: error: ‘cont’ does not name a type cont int mod = 666013; ^ user.cpp:6:16: error: ‘mod’ was not declared in this scope vector <int> g[mod]; ^ user.cpp: In function ‘bool find(int)’: user.cpp:10:39: error: ‘g’ was not declared in this scope for(vector <int> :: iterator it = g[x%mod].begin();it!=g[x%mod].end();++it) ^ user.cpp:10:43: error: ‘mod’ was not declared in this scope for(vector <int> :: iterator it = g[x%mod].begin();it!=g[x%mod].end();++it) ^ user.cpp: In function ‘void insert(int)’: user.cpp:19:1: error: ‘g’ was not declared in this scope g[x%mod].push_back(x); ^ user.cpp:19:5: error: ‘mod’ was not declared in this scope g[x%mod].push_back(x); ^ user.cpp: In function ‘void erase(int)’: user.cpp:25:38: error: ‘g’ was not declared in this scope for(vector <int> :: iterator it= g[x%mod].begin(); it!=g[x%mod].end();++it) ^ user.cpp:25:42: error: ‘mod’ was not declared in this scope for(vector <int> :: iterator it= g[x%mod].begin(); it!=g[x%mod].end();++it) ^

Ceva nu functioneaza?