Borderou de evaluare (job #642305)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Minnrk (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 mar. 2022 13:36:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:13: error: 'strlen' was not declared in this scope
15 | l = strlen(v);
| ^~~~~~
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;
main.cpp:12:13: warning: unused variable 'n' [-Wunused-variable]
12 | int n, k, i, min = 10, l;
| ^