Borderou de evaluare (job #579756)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Culori (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 ian. 2021 22:27:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:8:2: error: 'memset' was not declared in this scope
8 | memset(frecv, 123, sizeof(frecv));
| ^~~~~~
main.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <fstream>
+++ |+#include <cstring>
4 | using namespace std;