QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#683988#7733. Cool, It’s Yesterday Four Times Moreucup-team5126Compile Error//C++1710.6kb2024-10-28 08:26:212024-10-28 08:26:21

詳細信息

answer.code:29:39: warning: bad option ‘-fwhole-program’ to pragma ‘optimize’ [-Wpragmas]
   29 | #pragma GCC optimize("-fwhole-program")
      |                                       ^
answer.code:36:41: warning: bad option ‘-fstrict-overflow’ to pragma ‘optimize’ [-Wpragmas]
   36 | #pragma GCC optimize("-fstrict-overflow")
      |                                         ^
answer.code:38:41: warning: bad option ‘-fcse-skip-blocks’ to pragma ‘optimize’ [-Wpragmas]
   38 | #pragma GCC optimize("-fcse-skip-blocks")
      |                                         ^
answer.code:52:51: warning: bad option ‘-funsafe-loop-optimizations’ to pragma ‘optimize’ [-Wpragmas]
   52 | #pragma GCC optimize("-funsafe-loop-optimizations")
      |                                                   ^
answer.code:64:35: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   64 |     bool operator <(const Node &p)const{
      |                                   ^~~~~
answer.code:64:35: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:64:35: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:64:35: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:77:32: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   77 | int cal(int x,int y,int z,int w){
      |                                ^
answer.code:77:32: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:77:32: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:77:32: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:81:15: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   81 | int cal(Node x){
      |               ^
answer.code:81:15: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:81:15: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:81:15: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:86:13: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   86 | void update(){
      |             ^
answer.code:86:13: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:86:13: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:86:13: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:92:28: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   92 | pair<int,int> M(int x,int y){
      |                            ^
answer.code:92:28: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:92:28: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:92:28: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:95:68: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
   95 | pair<pair<int,int>,pair<int,int> >V(pair<int,int> x,pair<int,int> y){
      |                                                                    ^
answer.code:95:68: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:95:68: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:95:68: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:100:10: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  100 | void bfs(){
      |          ^
answer.code:100:10: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:100:10: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:100:10: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:120:11: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  120 | void init(){
      |           ^
answer.code:120:11: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:120:11: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:120:11: warning: bad option ‘-funsafe-loop-optimizations’ to attribute ‘optimize’ [-Wattributes]
answer.code:168:10: warning: bad option ‘-fwhole-program’ to attribute ‘optimize’ [-Wattributes]
  168 | int main(){
      |          ^
answer.code:168:10: warning: bad option ‘-fstrict-overflow’ to attribute ‘optimize’ [-Wattributes]
answer.code:168:10: warning: bad option ‘-fcse-skip-blocks’ to attribute ‘optimize’ [-Wattributes]
answer.code:168:10: warning: bad option ‘-funsafe-loop-optimizations’ to attribute...