记录详情

Accepted

foo.c: In function 'main':
foo.c:9:21: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations]
    9 |                 m[i]=a+b-8;
      |                 ~~~~^~~~~~
foo.c:7:22: note: within this loop
    7 |         for(int i=1;i<=7;i++){
      |                     ~^~~
foo.c:13:21: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations]
   13 |                 if(m[i]>x){
      |                    ~^~~
foo.c:12:22: note: within this loop
   12 |         for(int i=1;i<=7;i++){
      |                     ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 1ms 284.0 KiB
#4 Accepted 1ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 2ms 284.0 KiB
#8 Accepted 2ms 284.0 KiB
#9 Accepted 1ms 284.0 KiB
#10 Accepted 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1008 不高兴的津津
语言
C
递交时间
2023-08-25 19:11:51
评测时间
2023-08-25 19:11:51
评测机
分数
100
总耗时
20ms
峰值内存
284.0 KiB