/ TYWZ /

记录详情

Accepted

/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 3ms 328.0 KiB
#2 Accepted 4ms 324.0 KiB
#3 Accepted 5ms 328.0 KiB
#4 Accepted 6ms 452.0 KiB
#5 Accepted 118ms 708.0 KiB
#6 Accepted 396ms 1.215 MiB
#7 Accepted 86ms 840.0 KiB
#8 Accepted 458ms 1.066 MiB
#9 Accepted 504ms 1.07 MiB
#10 Accepted 583ms 1.07 MiB

信息

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