foo.cc:26:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("-fwhole-program")
^
foo.cc:35:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("-fcse-skip-blocks")
^
foo.cc:49:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("-funsafe-loop-optimizations")
^
foo.cc:62:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline void init(){//读入
^
foo.cc:62:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:62:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:82:69: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline unsigned long long search(int l,int r,unsigned long long flag){//flag=base^(r-l+1)
^
foo.cc:82:69: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:82:69: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:85:19: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline void workk(){//对应n>m的情况
^
foo.cc:85:19: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:85:19: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'void workk()':
foo.cc:93:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=1;i<dl[0];i++){//在multiset中找一下
~^~~~~~
foo.cc: At global scope:
foo.cc:99:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline void workk2(){//对于n=m的情况,与上面类比
^
foo.cc:99:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:99:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'void workk2()':
foo.cc:105:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=1;i<dl[0];i++){
~^~~~~~
foo.cc: At global scope:
foo.cc:111:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
int main(){
^
foo.cc:111:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:111:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'void init()':
foo.cc:63:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&ts,&tt,&n,&m);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务