Problem helloworld
User a
Submission Time 2023-06-21 19:13:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

helloworld.cpp: In function ‘int main()’:
helloworld.cpp:7:2: error: ‘memset’ was not declared in this scope
7 | memset(t,-1,sizeof(t));
| ^~~~~~
helloworld.cpp:2:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
1 | #include <iostream>
+++ |+#include <cstring>
2 | using namespace std;