记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:11:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else 
   ^~~~
foo.cc:13:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
    y=y+1;
    ^
foo.cc:15:8: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<y<<endl;
        ^
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 452.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
2-1 单个数的3N+1猜想
比赛
2020苏青奥赛集训营(2021-1-17)
语言
C++
递交时间
2021-01-17 13:28:37
评测时间
2021-01-17 13:28:37
评测机
分数
100
总耗时
10ms
峰值内存
452.0 KiB