Borderou de evaluare (job #803467)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Plus (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 ian. 2025 17:53:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:5: error: 'l' was not declared in this scope
11 | l = strlen(n);
| ^
main.cpp:11:9: error: 'strlen' was not declared in this scope
11 | l = strlen(n);
| ^~~~~~
main.cpp:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
1 | #include <fstream>
+++ |+#include <cstring>
2 |