记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:55:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rg i=1;i<=n;i++)
  ^~~
/in/foo.cc:57:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   memset(head,-1,sizeof(head));
   ^~~~~~
/in/foo.cc:68:16: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
     else printf("%d\n",ans[k]);
          ~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Accepted 2ms 344.0 KiB
#3 Accepted 2ms 344.0 KiB
#4 Accepted 2ms 344.0 KiB
#5 Accepted 5ms 1.535 MiB
#6 Accepted 5ms 728.0 KiB
#7 Accepted 5ms 1.32 MiB
#8 Accepted 2ms 344.0 KiB
#9 Accepted 2ms 344.0 KiB
#10 Accepted 3ms 472.0 KiB
#11 Accepted 14ms 1000.0 KiB
#12 Accepted 3ms 336.0 KiB

信息

递交者
类型
递交
题目
受欢迎的牛
题目数据
下载
语言
C++
递交时间
2019-01-21 22:47:35
评测时间
2019-01-21 22:47:35
评测机
分数
120
总耗时
50ms
峰值内存
1.535 MiB