/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void reda()':
/in/foo.cc:8:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i=0;i<e[u].size();i++){
            ~^~~~~~~~~~~~
/in/foo.cc:34:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (i=1;i<=n;i++) printf("%d ",num[i]);printf("\n");
  ^~~
/in/foo.cc:34:42: 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("\n");
                                          ^~~~~~
/in/foo.cc:19:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j;
        ^
# 状态 耗时 内存占用
#1 Accepted 9ms 3.082 MiB
#2 Accepted 9ms 3.086 MiB
#3 Accepted 9ms 3.125 MiB
#4 Accepted 12ms 3.0 MiB
#5 Accepted 25ms 3.0 MiB
#6 Accepted 12ms 3.125 MiB
#7 Accepted 9ms 3.082 MiB
#8 Accepted 104ms 4.5 MiB
#9 Accepted 143ms 4.988 MiB
#10 Accepted 133ms 4.969 MiB

信息

递交者
类型
递交
题目
P1790 拓扑编号
语言
C++
递交时间
2018-07-27 08:49:41
评测时间
2018-07-27 08:49:41
评测机
分数
100
总耗时
469ms
峰值内存
4.988 MiB