/ 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:33: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:45: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:45: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:41:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 3.102 MiB
#2 Accepted 6ms 3.098 MiB
#3 Accepted 5ms 3.125 MiB
#4 Wrong Answer 10ms 3.75 MiB
#5 Wrong Answer 10ms 3.004 MiB
#6 Wrong Answer 10ms 3.121 MiB
#7 Wrong Answer 9ms 3.625 MiB
#8 Time Exceeded ≥1005ms ≥5.0 MiB
#9 Time Exceeded ≥1003ms ≥5.375 MiB
#10 Time Exceeded ≥1006ms ≥4.848 MiB

信息

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