/ TYWZ /

记录详情

Wrong Answer

/in/foo.cc: In function 'LL count(LL, LL)':
/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:13: note: 'ans' was declared here
  LL l=i,r=n,ans,mid;
             ^~~
/in/foo.cc:48:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%lld\n",ans);
   ~~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 352.0 KiB
#2 Accepted 8ms 332.0 KiB
#3 Accepted 9ms 356.0 KiB
#4 Accepted 10ms 356.0 KiB
#5 Accepted 156ms 736.0 KiB
#6 Wrong Answer 290ms 1.094 MiB
#7 Accepted 88ms 888.0 KiB
#8 Wrong Answer 372ms 1.125 MiB
#9 Wrong Answer 331ms 1.109 MiB
#10 Wrong Answer 457ms 1.09 MiB

信息

递交者
类型
递交
题目
17.10.6 Prob I - Median
语言
C++
递交时间
2017-10-06 14:14:25
评测时间
2017-10-06 14:14:25
评测机
分数
60
总耗时
1730ms
峰值内存
1.125 MiB