/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int com()':
/in/foo.cc:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++) cout<<ans[i]<<" "; cout<<endl;
  ^~~
/in/foo.cc:60:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(int i=1;i<=n;i++) cout<<ans[i]<<" "; cout<<endl;
                                           ^~~~
/in/foo.cc: In function 'int dfs2(int, int)':
/in/foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int dfs(int, int)':
/in/foo.cc:53:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1007ms ≥384.0 KiB
#2 Time Exceeded ≥1000ms ≥256.0 KiB
#3 Runtime Error 5ms 256.0 KiB
#4 Runtime Error 10ms 324.0 KiB
#5 Time Exceeded ≥1007ms ≥256.0 KiB
#6 Time Exceeded ≥1005ms ≥272.0 KiB
#7 Time Exceeded ≥1004ms ≥256.0 KiB
#8 Runtime Error 8ms 228.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 3ms 212.0 KiB

信息

递交者
类型
递交
题目
P1179 邮票面值设计
语言
C++
递交时间
2017-04-22 22:13:01
评测时间
2017-04-22 22:13:01
评测机
分数
20
总耗时
5057ms
峰值内存
384.0 KiB