foo.c: In function 'main':
foo.c:20:25: warning: iteration 9998 invokes undefined behavior [-Waggressive-loop-optimizations]
   20 |                 xulie[i]=0;
      |                 ~~~~~~~~^~
foo.c:19:18: note: within this loop
   19 |         for(i=2;i<=10000;i++)
      |                 ~^~~~~~~
foo.c:38:29: warning: iteration 9998 invokes undefined behavior [-Waggressive-loop-optimizations]
   38 |                 if(max<xulie[i])
      |                        ~~~~~^~~
foo.c:36:18: note: within this loop
   36 |         for(i=2;i<=10000;i++)
      |                 ~^~~~~~~
foo.c:43:30: warning: iteration 9998 invokes undefined behavior [-Waggressive-loop-optimizations]
   43 |                 if(max==xulie[i])
      |                         ~~~~~^~~
foo.c:41:18: note: within this loop
   41 |         for(i=2;i<=10000;i++)
      |                 ~^~~~~~~
foo.c:20:25: warning: '__builtin_memset' forming offset [40000, 40003] is out of the bounds [0, 40000] of object 'xulie' with type 'int[10000]' [-Warray-bounds]
   20 |                 xulie[i]=0;
      |                 ~~~~~~~~^~
foo.c:17:15: note: 'xulie' declared here
   17 |         int x,xulie[10000],i,max=0;
      |               ^~~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务