/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int read()':
/in/foo.cc:6:2: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
  while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar(); return x;
  ^~~~~
/in/foo.cc:6:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
  while(ch>='0'&&ch<='9')x=x*10+ch-'0',ch=getchar(); return x;
                                                     ^~~~~~
/in/foo.cc: In function 'int sap(int, int, int)':
/in/foo.cc:26:14: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(i)cur[x]=i,pre[e[i].to]=x,x=e[i].to;
        ~~~~~~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 6.25 MiB
#2 Accepted 3ms 6.25 MiB
#3 Accepted 4ms 6.25 MiB
#4 Accepted 4ms 6.25 MiB
#5 Accepted 4ms 6.25 MiB
#6 Accepted 5ms 6.375 MiB
#7 Accepted 7ms 6.359 MiB
#8 Accepted 13ms 6.359 MiB
#9 Wrong Answer 66ms 28.5 MiB
#10 Wrong Answer 49ms 30.469 MiB

信息

递交者
类型
递交
题目
P1734 海拔
语言
C++
递交时间
2017-05-17 11:06:37
评测时间
2017-05-17 11:06:37
评测机
分数
80
总耗时
165ms
峰值内存
30.469 MiB