记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:49:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(rg i=1;i<=n;i++)
  ^~~
/in/foo.cc:51: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:62:16: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
     else printf("%d\n",ans[k]);
          ~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 348.0 KiB
#2 Accepted 1ms 348.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Accepted 4ms 1.516 MiB
#6 Accepted 3ms 684.0 KiB
#7 Accepted 4ms 1.324 MiB
#8 Accepted 1ms 344.0 KiB
#9 Accepted 1ms 340.0 KiB
#10 Accepted 3ms 472.0 KiB
#11 Accepted 11ms 948.0 KiB
#12 Accepted 2ms 336.0 KiB

信息

递交者
类型
递交
题目
受欢迎的牛
题目数据
下载
语言
C++
递交时间
2019-01-26 14:46:32
评测时间
2019-01-26 14:46:32
评测机
分数
120
总耗时
40ms
峰值内存
1.516 MiB