/ 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 3ms 324.0 KiB
#2 Wrong Answer 3ms 324.0 KiB
#3 Wrong Answer 2ms 500.0 KiB
#4 Wrong Answer 2ms 328.0 KiB
#5 Wrong Answer 2ms 320.0 KiB
#6 Wrong Answer 2ms 328.0 KiB
#7 Wrong Answer 2ms 324.0 KiB
#8 Wrong Answer 2ms 320.0 KiB
#9 Wrong Answer 1ms 324.0 KiB
#10 Wrong Answer 1ms 328.0 KiB

信息

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