/in/foo.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
#import "bits/stdc++.h"
^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:21:39: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i = 1; i <= N; i ++) { p[i] = 0; }
~~~~~^~~
/in/foo.cc:21:20: note: within this loop
for(int i = 1; i <= N; i ++) { p[i] = 0; }
~~^~~~
/in/foo.cc:22:39: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i = 1; i <= N; i ++) { f[i] = 0; }
~~~~~^~~
/in/foo.cc:22:20: note: within this loop
for(int i = 1; i <= N; i ++) { f[i] = 0; }
~~^~~~
/in/foo.cc:23:40: warning: iteration 1000004 invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i = 1; i <= N; i ++) { tn[i] = 0; }
~~~~~~^~~
/in/foo.cc:23:20: note: within this loop
for(int i = 1; i <= N; i ++) { tn[i] = 0; }
~~^~~~