foo.cc:27:39: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("-fwhole-program")
^
foo.cc:36:41: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("-fcse-skip-blocks")
^
foo.cc:50:51: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
#pragma GCC optimize("-funsafe-loop-optimizations")
^
foo.cc:63:18: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline void init(){//¶ÁÈë
^
foo.cc:63:18: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:63:18: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:83: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:83:69: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:83:69: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:86:19: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline void workk(){//¶ÔÓ¦n>mµÄÇé¿ö
^
foo.cc:86:19: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:86:19: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'void workk()':
foo.cc:94: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:100:20: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
inline void workk2(){//¶ÔÓÚn=mµÄÇé¿ö£¬ÓëÉÏÃæÀà±È
^
foo.cc:100:20: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:100:20: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'void workk2()':
foo.cc:106: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:112:43: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
__attribute__((optimize("-O3"))) int main(){
^
foo.cc:112:43: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:112:43: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc: In function 'void init()':
foo.cc:64: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)提供评测服务