记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(x==y)
   ^~
/in/foo.cc:18:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    x=x+y;
    ^
/in/foo.cc:5:8: warning: unused variable 'y' [-Wunused-variable]
  int x,y;cin>>x;
        ^
/in/foo.cc:21:8: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<cnt<<endl;
        ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1212 C6 变身几次成为回文数
比赛
2020苏青奥赛集训营(2021-1-30课堂小练)
语言
C++
递交时间
2021-01-30 12:08:40
评测时间
2021-01-30 12:08:40
评测机
分数
100
总耗时
7ms
峰值内存
228.0 KiB