Borderou de evaluare (job #2314620)
Utilizator | Data | 8 ianuarie 2019 21:00:38 | |
---|---|---|---|
Problema | Password | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void compSuffArray(int)':
main.cpp:34:17: warning: array subscript has type 'char' [-Wchar-subscripts]
val[s[i]] = 1;
^
main.cpp:38:27: warning: array subscript has type 'char' [-Wchar-subscripts]
P[0][i] = val[s[i]] - 1;
^
main.cpp: In function 'int main()':
main.cpp:69:11: error: 'gets' was not declared in this scope
gets(s);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !