/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'int count(int, int)':
/in/foo.cc:19: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:19:13: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans-i;
             ^
/in/foo.cc:12:14: note: 'ans' was declared here
  int l=i,r=n,ans,mid;
              ^~~
/in/foo.cc:38:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%d\n",ans);
   ~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 8ms 384.0 KiB
#3 Accepted 10ms 332.0 KiB
#4 Accepted 12ms 340.0 KiB
#5 Wrong Answer 179ms 476.0 KiB
#6 Wrong Answer 348ms 728.0 KiB
#7 Wrong Answer 100ms 596.0 KiB
#8 Wrong Answer 474ms 760.0 KiB
#9 Wrong Answer 537ms 728.0 KiB
#10 Wrong Answer 521ms 768.0 KiB

信息

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