lightningrod.cpp: In function 'int main()':
lightningrod.cpp:5:11: error: 'struct std::pair<int, int>' has no member named 'seconds'; did you mean 'second'?
5 | #define S seconds
| ^~~~~~~
lightningrod.cpp:55:14: note: in expansion of macro 'S'
55 | int i = tw.S;
| ^
lightningrod.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
lightningrod.cpp:16:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d%d",&x[i],&y[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~