Borderou de evaluare (job #1524182)
Utilizator | Data | 13 noiembrie 2015 17:07:31 | |
---|---|---|---|
Problema | Hashuri | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:2: error: invalid preprocessing directive #indlude
#indlude <fstream>
^
user.cpp: In function ‘bool find(int)’:
user.cpp:12:5: error: ‘interator’ is not a member of ‘std::vector<int>’
for(vector <int> :: interator it= g[x%mod].begin(); it !=g[x%mod].end(); ++it)
^
user.cpp:12:31: error: expected ‘;’ before ‘it’
for(vector <int> :: interator it= g[x%mod].begin(); it !=g[x%mod].end(); ++it)
^
user.cpp:12:53: error: ‘it’ was not declared in this scope
for(vector <int> :: interator it= g[x%mod].begin(); it !=g[x%mod].end(); ++it)
^
user.cpp: In function ‘void erase(int)’:
user.cpp:27:5: error: ‘interator’ is not a member of ‘std::vector<int>’
for(vector <int> :: interator it=g[x%mod].begin(); it!=g[x%mod].end(); ++it)
^
user.cpp:27:31: error: expected ‘;’ before ‘it’
for(vector <int> :: interator it=g[x%mod].begin(); it!=g[x%mod].end(); ++it)
^
user.cpp:27:52: error: ‘it’ was not declared in this scope
for(vector <int> :: interator it=g[x%mod].begin(); it!=g[x%mod].end(); ++it)
^
user.cpp: In function ‘int main()’:
user.cpp:36:13: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("hashuri.in");
^
user.cpp:37:14: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("hashuri.out");
^
user.cpp:40:5: error: ‘i’ was not declared in this scope
for(i=1; i<=n; i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !