Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P1808 统计数字
语言
C++
递交时间
2023-06-03 09:52:47
评测时间
2023-06-03 09:52:47
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes