poi.cpp: In function 'int main()':
poi.cpp:40:5: error: 'memset' was not declared in this scope
40 | memset(points, 0, sizeof(points));
| ^~~~~~
poi.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include <iostream>
+++ |+#include <cstring>
6 | using namespace std;
poi.cpp:35:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scanf("%d %d %d", &n, &t, &p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
poi.cpp:47:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~