QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#768552#8806. Summer Driving1672Compile Error//C++147.9kb2024-11-21 12:12:172024-11-21 12:12:19

詳細信息

answer.code:23:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas]
   23 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
answer.code:30:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas]
   30 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
answer.code:32:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas]
   32 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
answer.code:46:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas]
   46 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
answer.code:70:15: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   70 | void dfs(int s){
      |               ^
answer.code:70:15: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:70:15: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:70:15: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:87:22: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   87 | void fzx(int s,int fa){
      |                      ^
answer.code:87:22: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:87:22: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:87:22: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:99:46: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   99 | int dst(int s,int fa,int dept,int bel,int bas){
      |                                              ^
answer.code:99:46: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:99:46: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:99:46: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:110:57: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  110 | bool cmp(const pair<int,int>& t1,const pair<int,int>& t2){
      |                                                         ^
answer.code:110:57: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:110:57: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:110:57: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:114:15: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  114 | void dfz(int s){
      |               ^
answer.code:114:15: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:114:15: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:114:15: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:137:17: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  137 | int lowbit(int x){return x&-x;}
      |                 ^
answer.code:137:17: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:137:17: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:137:17: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:141:25: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  141 |         void init(int Sz){
      |                         ^
answer.code:141:25: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:141:25: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:141:25: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:145:20: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  145 |         void clear(){
      |                    ^
answer.code:145:20: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:145:20: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:145:20: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:148:26: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  148 |         void insert(int x){
      |                          ^
answer.code:148:26: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:148:26: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:148:26: war...