Borderou de evaluare (job #664284)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Charlie (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 26 sept. 2022 16:28:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void task_1()':
main.cpp:15:20: error: 'strlen' was not declared in this scope
15 | while (i + 1 < strlen(s)) {
| ^~~~~~
main.cpp:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <fstream>
+++ |+#include <cstring>
3 | using namespace std;