/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   mid=l+r>>1;
       ~^~
/in/foo.cc:34:20: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%lld",ans);
                    ^
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 3ms 356.0 KiB
#5 Accepted 10ms 256.0 KiB
#6 Accepted 18ms 384.0 KiB
#7 Accepted 150ms 896.0 KiB
#8 Accepted 180ms 1.027 MiB
#9 Accepted 173ms 1.117 MiB
#10 Accepted 136ms 1.055 MiB

信息

递交者
类型
递交
题目
2017.07.14 P1 第 k 大的数
语言
C++
递交时间
2017-07-14 20:19:38
评测时间
2017-07-14 20:19:38
评测机
分数
100
总耗时
682ms
峰值内存
1.117 MiB