Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(int i=n-1;i>=0;i--) 
 ^~~
/in/foo.cc:14:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  return 0;
  ^~~~~~
/in/foo.cc:10:9: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
 for(int i;i<5;i++)
         ^
# 状态 耗时 内存占用
#1 Accepted 1ms 308.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Wrong Answer 1ms 376.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2022-01-17 09:34:06
评测时间
2022-01-17 09:34:06
评测机
分数
40
总耗时
7ms
峰值内存
376.0 KiB