/ Vijos /

记录详情

Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 432.0 KiB
#2 Accepted 2ms 424.0 KiB
#3 Accepted 29ms 952.0 KiB
#4 Accepted 29ms 968.0 KiB
#5 Accepted 28ms 940.0 KiB
#6 Accepted 29ms 976.0 KiB
#7 Accepted 37ms 988.0 KiB
#8 Accepted 36ms 988.0 KiB
#9 Accepted 37ms 992.0 KiB
#10 Accepted 28ms 944.0 KiB
#11 Accepted 27ms 936.0 KiB
#12 Accepted 28ms 944.0 KiB
#13 Accepted 352ms 2.707 MiB
#14 Accepted 328ms 2.66 MiB
#15 Accepted 268ms 2.457 MiB
#16 Accepted 224ms 2.445 MiB
#17 Accepted 517ms 2.812 MiB
#18 Accepted 962ms 3.27 MiB
#19 Accepted 272ms 2.461 MiB
#20 Accepted 317ms 2.539 MiB

信息

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