Borderou de evaluare (job #3294086)
Utilizator | Data | 15 aprilie 2025 17:20:27 | |
---|---|---|---|
Problema | Produs | 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:151:15: error: 'strlen' was not declared in this scope
151 | int len = strlen(num);
| ^~~~~~
main.cpp:6:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <fstream>
+++ |+#include <cstring>
6 | using namespace std;
main.cpp:152:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
152 | for (size_t i = 0; i < len; i++)
| ~~^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !