Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
      if(f[i])y=i;
      ^~
/in/foo.cc:20:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   b[i]=y;
   ^
/in/foo.cc:20:7: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
   b[i]=y;
   ~~~~^~
# 状态 耗时 内存占用
#1 Accepted 6ms 5.098 MiB
#2 Accepted 13ms 5.098 MiB
#3 Accepted 346ms 4.695 MiB
#4 Accepted 504ms 5.211 MiB

信息

递交者
类型
递交
比赛
GESP5级 考前练习
语言
C++
递交时间
2024-06-02 21:20:32
评测时间
2024-06-02 21:20:32
评测机
分数
100
总耗时
870ms
峰值内存
5.211 MiB