/ Vijos /

记录详情

Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 444.0 KiB
#2 Accepted 2ms 420.0 KiB
#3 Accepted 29ms 1.156 MiB
#4 Accepted 29ms 1.188 MiB
#5 Accepted 28ms 1.16 MiB
#6 Accepted 29ms 1.188 MiB
#7 Accepted 36ms 1.105 MiB
#8 Accepted 36ms 1.098 MiB
#9 Accepted 35ms 1.105 MiB
#10 Accepted 27ms 1.066 MiB
#11 Accepted 28ms 1.02 MiB
#12 Accepted 28ms 1.07 MiB
#13 Accepted 337ms 3.062 MiB
#14 Accepted 316ms 3.031 MiB
#15 Accepted 264ms 3.168 MiB
#16 Accepted 219ms 3.156 MiB
#17 Accepted 500ms 3.539 MiB
#18 Accepted 905ms 3.996 MiB
#19 Accepted 260ms 3.082 MiB
#20 Accepted 310ms 3.27 MiB

信息

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