/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=l+r>>1;
           ~^~
/in/foo.cc:38:18: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d",ans);
                  ^
# 状态 耗时 内存占用
#1 Accepted 8ms 256.0 KiB
#2 Accepted 8ms 364.0 KiB
#3 Accepted 8ms 256.0 KiB
#4 Accepted 8ms 332.0 KiB
#5 Accepted 5ms 256.0 KiB
#6 Accepted 31ms 852.0 KiB
#7 Accepted 30ms 780.0 KiB
#8 Accepted 31ms 708.0 KiB
#9 Accepted 29ms 716.0 KiB
#10 Accepted 27ms 844.0 KiB

信息

递交者
类型
递交
题目
2017.07.03 P1 找数
语言
C++
递交时间
2017-07-03 18:56:18
评测时间
2017-07-03 18:56:18
评测机
分数
100
总耗时
188ms
峰值内存
852.0 KiB