poi.cpp: In function 'int main()':
poi.cpp:41:5: error: 'memset' was not declared in this scope
41 | 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 |
poi.cpp:36:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
36 | scanf("%d %d %d", &n, &t, &p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
poi.cpp:48:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
48 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~