Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    mid=L+R>>1;
        ~^~
/in/foo.cc:36:8: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<res<<endl;
        ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 13ms 692.0 KiB
#4 Wrong Answer 13ms 692.0 KiB
#5 Wrong Answer 14ms 588.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.2 练习 1」数列分段 II
语言
C++
递交时间
2021-07-02 19:25:18
评测时间
2021-07-02 19:25:18
评测机
分数
20
总耗时
44ms
峰值内存
692.0 KiB