foo.cc: In function 'int main()':
foo.cc:14:29: warning: iteration 10004 invokes undefined behavior [-Waggressive-loop-optimizations]
14 | cout<<b[i]<<" "<<a[b[i]]<<endl;
| ^~~
foo.cc:13:22: note: within this loop
13 | for(int i=1;i<=10005;i++)
| ~^~~~~~~
/tmp/ccozPQf9.o: in function `_GLOBAL__sub_I_a':
foo.cc:(.text.startup+0x105): relocation truncated to fit: R_X86_64_32 against `.bss'
foo.cc:(.text.startup+0x114): relocation truncated to fit: R_X86_64_32 against `.bss'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务