Borderou de evaluare (job #2187297)
Utilizator | Data | 26 martie 2018 13:07:00 | |
---|---|---|---|
Problema | Zimeria | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:5: error: ‘in’ was not declared in this scope
in>>v>>n>>str;
^~
user.cpp:19:9: error: ‘out’ was not declared in this scope
out<<s;
^~~
user.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=str.length(); ++i)
~^~~~~~~~~~~~~~
user.cpp:23:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fi[str[i-1]]=i;
^
user.cpp:29:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
S[i].f+=fi[s1[j]];
^
user.cpp:33:13: error: ‘out’ was not declared in this scope
out<<S[i].s<<"\n";
^~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !