/ AOCode /

记录详情

Accepted

foo.cc:5:912: warning: bad option '-fwhole-program' to pragma 'optimize' [-Wpragmas]
    5 | #pragma GCC optimize (1,2,3,"Ofast","inline","-fgcse","Ofast","inline","-fgcse-lm","-fipa-sra","-ftree-pre","-ftree-vrp","-fpeephole2","-ffast-math","-fsched-spec","unroll-loops","-falign-jumps","-falign-loops","-falign-labels","-fdevirtualize","-fcaller-saves","-fcrossjumping","-fthread-jumps","-funroll-loops","-fwhole-program","-freorder-blocks","-fschedule-insns","inline-functions","-ftree-tail-merge","-fschedule-insns2","-fstrict-aliasing","-fstrict-overflow","-falign-functions","-fcse-skip-blocks","-fcse-follow-jumps","-fsched-interblock","-fpartial-inlining","no-stack-protector","-freorder-functions","-findirect-inlining","-fhoist-adjacent-loads","-frerun-cse-after-loop","inline-small-functions","-finline-small-functions","-ftree-switch-conversion","-foptimize-sibling-calls","-fexpensive-optimizations","-funsafe-loop-optimizations","inline-functions-called-once","-fdelete-null-pointer-checks")
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^
foo.cc:5:912: warning: bad option '-fstrict-overflow' to pragma 'optimize' [-Wpragmas]
foo.cc:5:912: warning: bad option '-fcse-skip-blocks' to pragma 'optimize' [-Wpragmas]
foo.cc:5:912: warning: bad option '-funsafe-loop-optimizations' to pragma 'optimize' [-Wpragmas]
foo.cc:12:18: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   12 | } tree[MAXN << 2 + 1];
      |                ~~^~~
foo.cc:14:31: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   14 | void build(int l, int r, int k){
      |                               ^
foo.cc:14:31: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:14:31: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:14:31: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:28:17: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   28 | void marks(int p){
      |                 ^
foo.cc:28:17: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:28:17: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:28:17: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:38:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   38 | void add(int l, int r, int k, int d){
      |                                    ^
foo.cc:38:36: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:38:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:38:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:54:36: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   54 | long long query(int l, int r, int k){
      |                                    ^
foo.cc:54:36: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:54:36: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:54:36: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
foo.cc:69:10: warning: bad option '-fwhole-program' to attribute 'optimize' [-Wattributes]
   69 | int main(){
      |          ^
foo.cc:69:10: warning: bad option '-fstrict-overflow' to attribute 'optimize' [-Wattributes]
foo.cc:69:10: warning: bad option '-fcse-skip-blocks' to attribute 'optimize' [-Wattributes]
foo.cc:69:10: warning: bad option '-funsafe-loop-optimizations' to attribute 'optimize' [-Wattributes]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB

信息

递交者
类型
自测
题目
P1038 The FLF Tokens
语言
C++
递交时间
2022-04-29 20:35:17
评测时间
2022-04-29 20:35:17
评测机
分数
10
总耗时
2ms
峰值内存
384.0 KiB