/ 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:36:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (j=0;j<e[ntp].size();j++){
             ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50: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:50: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:45:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Wrong Answer 6ms 3.477 MiB
#2 Wrong Answer 5ms 3.457 MiB
#3 Accepted 3ms 3.5 MiB
#4 Wrong Answer 11ms 3.48 MiB
#5 Wrong Answer 11ms 3.488 MiB
#6 Wrong Answer 6ms 3.375 MiB
#7 Wrong Answer 10ms 3.84 MiB
#8 Time Exceeded ≥1004ms ≥4.875 MiB
#9 Time Exceeded ≥1005ms ≥5.355 MiB
#10 Time Exceeded ≥1003ms ≥5.355 MiB

信息

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