/ new_bzoj /

记录详情

Time Exceeded

/in/foo.cc: In function 'void read(_T&)':
/in/foo.cc:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
  ^~
/in/foo.cc:12:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  if(_t=='-') _flag=true,_t=getchar(); _x=_t-'0';
                                       ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=l+r>>1;
           ~^~
/in/foo.cc:74:13: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  else printf("%d\n",ans);
       ~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥5010ms ≥2.309 MiB
#2 Wrong Answer 8ms 10.312 MiB
#3 Wrong Answer 7ms 10.434 MiB
#4 Wrong Answer 6ms 10.309 MiB
#5 Wrong Answer 5ms 10.309 MiB
#6 Wrong Answer 4ms 10.312 MiB
#7 Wrong Answer 5ms 10.309 MiB
#8 Wrong Answer 6ms 10.434 MiB
#9 Wrong Answer 4ms 8.309 MiB
#10 Wrong Answer 4ms 10.309 MiB

信息

递交者
类型
递交
题目
Telephone Wire 架设电话线
语言
C++
递交时间
2017-09-27 22:06:04
评测时间
2017-09-27 22:06:04
评测机
分数
0
总耗时
≥5063ms
峰值内存
≥10.434 MiB