/ Vijos /

记录详情

Compile Error

foo.cc:4:2: error: invalid preprocessing directive #inclued; did you mean #include?
 #inclued <stdio.h>
  ^~~~~~~
  include
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)提供评测服务

信息

递交者
类型
递交
题目
P1960 双旋转字符串
语言
C++
递交时间
2021-07-21 08:42:18
评测时间
2021-07-21 08:42:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes