Accepted

foo.cc: In function 'int main()':
foo.cc:30:19: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations]
    while(a[i]==a[j])
                ~~~^
foo.cc:27:11: note: within this loop
  for(i=0;i<10;i++)
          ~^~~
foo.cc:40:5: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
    x++;
    ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 412.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1099 阶段测验3(6)***
语言
C++
递交时间
2021-08-01 17:32:17
评测时间
2021-08-01 17:32:17
评测机
分数
100
总耗时
11ms
峰值内存
412.0 KiB