/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void pre()':
/in/foo.cc:9:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
/in/foo.cc: In function 'void dfs()':
/in/foo.cc:32:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (j=0;j<e[i].size();j++){
            ~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:44:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (i=1;i<n;i++) printf("%d ",num[i]);printf("%d\n",num[n]);
  ^~~
/in/foo.cc:44:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for (i=1;i<n;i++) printf("%d ",num[i]);printf("%d\n",num[n]);
                                         ^~~~~~
/in/foo.cc:40:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Wrong Answer 6ms 3.617 MiB
#2 Accepted 5ms 3.125 MiB
#3 Accepted 4ms 3.703 MiB
#4 Wrong Answer 7ms 3.109 MiB
#5 Wrong Answer 9ms 3.375 MiB
#6 Wrong Answer 13ms 3.25 MiB
#7 Wrong Answer 7ms 3.105 MiB
#8 Time Exceeded ≥1005ms ≥5.0 MiB
#9 Time Exceeded ≥1002ms ≥5.465 MiB
#10 Time Exceeded ≥1003ms ≥4.859 MiB

信息

递交者
类型
递交
题目
P1790 拓扑编号
语言
C++
递交时间
2018-07-26 21:46:48
评测时间
2018-07-26 21:46:48
评测机
分数
20
总耗时
≥3067ms
峰值内存
≥5.465 MiB