Borderou de evaluare (job #2457943)
Utilizator | Data | 19 septembrie 2019 10:03:19 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:5: error: 'cout' was not declared in this scope
cout << 0;
^~~~
main.cpp:26:31: warning: array subscript has type 'char' [-Wchar-subscripts]
s1h1 = s1h1 * 27 + v[s1[i]];
^
main.cpp:27:31: warning: array subscript has type 'char' [-Wchar-subscripts]
s1h2 = s1h2 * 27 + v[s1[i]];
^
main.cpp:36:31: warning: array subscript has type 'char' [-Wchar-subscripts]
s2h1 = s2h1 * 27 + v[s2[i]];
^
main.cpp:37:31: warning: array subscript has type 'char' [-Wchar-subscripts]
s2h2 = s2h2 * 27 + v[s2[i]];
^
main.cpp:47:31: warning: array subscript has type 'char' [-Wchar-subscripts]
s2h1 = s2h1 * 27 + v[s2[i]];
^
main.cpp:48:39: warning: array subscript has type 'char' [-Wchar-subscripts]
s2h1 = s2h1 - put1 * (v[s2[i - l1]]);
^
main.cpp:51:31: warning: array subscript has type 'char' [-Wchar-subscripts]
s2h2 = s2h2 * 27 + v[s2[i]];
^
main.cpp:52:39: warning: array subscript has type 'char' [-Wchar-subscripts]
s2h2 = s2h2 - put2 * (v[s2[i - l1]]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !