/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'int count(int, int)':
/in/foo.cc:27:13: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans-i;
             ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:13: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans-i;
             ^
/in/foo.cc:20:14: note: 'ans' was declared here
  int l=i,r=n,ans,mid;
              ^~~
/in/foo.cc:48:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%d\n",ans);
   ~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 356.0 KiB
#2 Wrong Answer 8ms 332.0 KiB
#3 Wrong Answer 10ms 368.0 KiB
#4 Wrong Answer 11ms 340.0 KiB
#5 Wrong Answer 171ms 476.0 KiB
#6 Wrong Answer 464ms 760.0 KiB
#7 Wrong Answer 93ms 612.0 KiB
#8 Wrong Answer 599ms 716.0 KiB
#9 Wrong Answer 678ms 736.0 KiB
#10 Wrong Answer 674ms 720.0 KiB

信息

递交者
类型
递交
题目
17.10.6 Prob I - Median
语言
C++
递交时间
2017-10-06 13:27:10
评测时间
2017-10-06 13:27:10
评测机
分数
0
总耗时
2718ms
峰值内存
760.0 KiB