/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    int mid=left+right>>1;
            ~~~~^~~~~~
/in/foo.cc:40:21: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   printf("%d\n",ans);
                     ^
# 状态 耗时 内存占用
#1 Accepted 9ms 2.25 MiB
#2 Accepted 5ms 2.352 MiB
#3 Accepted 8ms 2.25 MiB
#4 Accepted 18ms 2.25 MiB
#5 Accepted 19ms 2.25 MiB
#6 Accepted 18ms 2.25 MiB
#7 Accepted 213ms 2.375 MiB
#8 Accepted 222ms 2.285 MiB
#9 Accepted 222ms 2.375 MiB
#10 Accepted 189ms 2.328 MiB

信息

递交者
类型
递交
题目
2017.07.03 P3 淘汰网格
语言
C++
递交时间
2017-07-03 19:52:18
评测时间
2017-07-03 19:52:18
评测机
分数
300
总耗时
926ms
峰值内存
2.375 MiB