Borderou de evaluare (job #3258858)
Utilizator | Data | 23 noiembrie 2024 21:10:34 | |
---|---|---|---|
Problema | Restante | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:31: error: 'strlen' was not declared in this scope
17 | sort(cuv[i], cuv[i] + strlen(cuv[i]) + 1);
| ^~~~~~
main.cpp:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <algorithm>
+++ |+#include <cstring>
3 | using namespace std;
main.cpp:25:17: error: 'strcmp' was not declared in this scope
25 | if (strcmp(cuv[i], cuv[j]) == 0)
| ^~~~~~
main.cpp:25:17: note: 'strcmp' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !