Borderou de evaluare (job #1872157)
Utilizator | Data | 7 februarie 2017 23:22:39 | |
---|---|---|---|
Problema | Ceas2 | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:2: error: ‘f’ was not declared in this scope
f >> x >> y;
^
user.cpp:23:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cod[x[i]] && (cod[x[i]] != y[i]))
^
user.cpp:23:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cod[x[i]] && (cod[x[i]] != y[i]))
^
user.cpp:26:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cod[x[i]] = y[i];
^
user.cpp:36:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cod[c])
^
user.cpp:37:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
out << c << ' ' << cod[c] << '\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !