/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int two_fen_cha_zhao(int)':
/in/foo.cc:11:12: warning: 'right' may be used uninitialized in this function [-Wmaybe-uninitialized]
   mid=(left+right)/2;
       ~~~~~^~~~~~~
/in/foo.cc:15:9: warning: 'left' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return left;
         ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: warning: 'right' may be used uninitialized in this function [-Wmaybe-uninitialized]
   mid=(left+right)/2;
       ~~~~~^~~~~~~
/in/foo.cc:8:11: note: 'right' was declared here
  int left,right,mid;
           ^~~~~
/in/foo.cc:50:12: warning: 'left' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ans[pos]=num[i];
    ~~~~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 58ms 768.0 KiB
#2 Runtime Error 4ms 380.0 KiB
#3 Wrong Answer 3ms 384.0 KiB
#4 Accepted 8ms 476.0 KiB
#5 Runtime Error 4ms 496.0 KiB
#6 Accepted 5ms 384.0 KiB
#7 Wrong Answer 4ms 452.0 KiB
#8 Runtime Error 34ms 640.0 KiB
#9 Runtime Error 26ms 624.0 KiB
#10 Runtime Error 64ms 720.0 KiB

信息

递交者
类型
递交
题目
P1369 难解的问题
语言
C++
递交时间
2018-06-10 15:53:13
评测时间
2018-06-10 15:53:13
评测机
分数
20
总耗时
214ms
峰值内存
768.0 KiB