Borderou de evaluare (job #2135618)
Utilizator | Data | 18 februarie 2018 23:18:57 | |
---|---|---|---|
Problema | Randuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘ifstream’ does not name a type
ifstream f("randuri.in");
^
user.cpp:5:1: error: ‘ofstream’ does not name a type
ofstream g("randuri.out");
^
user.cpp: In function ‘void citeste()’:
user.cpp:12:10: error: ‘f’ was not declared in this scope
while (f.getline(s[i]+1,101))
^
user.cpp:17:3: error: ‘f’ was not declared in this scope
f.close ();
^
user.cpp: In function ‘int cmlsc(char*, char*)’:
user.cpp:39:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return lcs[p[0]][q[0]];
^
user.cpp:39:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return lcs[p[0]][q[0]];
^
user.cpp: In function ‘void scrie()’:
user.cpp:57:5: error: ‘g’ was not declared in this scope
g << randuri ;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !