Borderou de evaluare (job #1797110)
Utilizator | Data | 3 noiembrie 2016 23:31:30 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:13: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("strmatch.in");
^
user.cpp:9:11: error: variable ‘std::ofstream g’ has initializer but incomplete type
ofstream g("strmatch.out");
^
user.cpp:11:1: error: ‘vector’ does not name a type
vector <int> rez;
^
user.cpp:12:1: error: ‘vector’ does not name a type
vector <int>::iterator it;
^
user.cpp: In function ‘int main()’:
user.cpp:17:19: error: ‘strlen’ was not declared in this scope
m = strlen(a+1);
^
user.cpp:36:13: error: ‘rez’ was not declared in this scope
rez.push_back(i - m);
^
user.cpp:39:9: error: ‘it’ was not declared in this scope
for(it = rez.begin();it <= rez.end();it++)
^
user.cpp:39:14: error: ‘rez’ was not declared in this scope
for(it = rez.begin();it <= rez.end();it++)
^
user.cpp:42:5: error: ‘fout’ was not declared in this scope
fout.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !