/ Vijos /

记录详情

Compile Error

/in/foo.cc:9:7: error: ISO C++ forbids declaration of 'init' with no type [-fpermissive]
  init()
       ^
/in/foo.cc: In member function 'int segtree::init()':
/in/foo.cc:12:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
/in/foo.cc: In member function 'void segtree::build(int, int, int)':
/in/foo.cc:20:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=lx+rx>>1;
           ~~^~~
/in/foo.cc: In member function 'int segtree::query(int, int, int, int, int)':
/in/foo.cc:31:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=lx+rx>>1;
           ~~^~~

信息

递交者
类型
递交
题目
P1514 天才的记忆
语言
C++
递交时间
2020-09-18 09:33:20
评测时间
2020-09-18 09:33:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes