记录详情

Accepted

/in/foo.cc:6:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main(){
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:17:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(register int i=1;i<=n;i++) printf("%d\n",ans[i]);return 0;
     ^~~
/in/foo.cc:17:58: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(register int i=1;i<=n;i++) printf("%d\n",ans[i]);return 0;
                                                          ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 10ms 8.297 MiB
#2 Accepted 12ms 12.293 MiB
#3 Accepted 9ms 10.289 MiB
#4 Accepted 9ms 8.297 MiB
#5 Accepted 7ms 10.289 MiB
#6 Accepted 13ms 8.293 MiB
#7 Accepted 13ms 10.293 MiB
#8 Accepted 14ms 12.289 MiB
#9 Accepted 14ms 8.422 MiB
#10 Accepted 6ms 8.328 MiB

信息

递交者
类型
递交
题目
P1063 最省时的方案
比赛
AOGC2020赛季1.2
语言
C++
递交时间
2020-03-26 13:54:54
评测时间
2020-03-26 13:54:54
评测机
分数
100
总耗时
112ms
峰值内存
12.293 MiB