运行 ID: 41236

Main.cc: In function ‘void read(T& ...)’:
Main.cc:24:14: warning: fold-expressions only available with -std=c++1z or -std=gnu++1z
     (read(x),...);
              ^~~
Main.cc: At global scope:
Main.cc:28:1: error: ‘flat_set’ does not name a type; did you mean ‘fd_set’?
 flat_set>vy[1000005];
 ^~~~~~~~
 fd_set
Main.cc: In function ‘void push_up(unsigned int, unsigned int)’:
Main.cc:35:5: error: ‘vy’ was not declared in this scope
     vy[y].erase({x,vx.second,1});
     ^~
Main.cc:35:5: note: suggested alternative: ‘vx’
     vy[y].erase({x,vx.second,1});
     ^~
     vx
Main.cc: In function ‘void push_down(unsigned int, unsigned int)’:
Main.cc:50:5: error: ‘vy’ was not declared in this scope
     vy[y].erase({x,vx.second,0});
     ^~
Main.cc:50:5: note: suggested alternative: ‘vx’
     vy[y].erase({x,vx.second,0});
     ^~
     vx
Main.cc: In function ‘void slv()’:
Main.cc:69:9: error: ‘vy’ was not declared in this scope
         vy[y[0].first].insert({x,y[0].second,0});
         ^~
Main.cc:69:9: note: suggested alternative: ‘y’
         vy[y[0].first].insert({x,y[0].second,0});
         ^~
         y
Main.cc:76:35: error: ‘vy’ was not declared in this scope
     for(int x=1;x<=1000000;x++)if(vy[x].size()>2)q.push(x);
                                   ^~
Main.cc:76:35: note: suggested alternative: ‘vx’
     for(int x=1;x<=1000000;x++)if(vy[x].size()>2)q.push(x);
                                   ^~
                                   vx
Main.cc:78:15: error: ‘vy’ was not declared in this scope
         while(vy[q.front()].size()>2){
               ^~
Main.cc:78:15: note: suggested alternative: ‘vx’
         while(vy[q.front()].size()>2){
               ^~
               vx
Main.cc:80:17: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
             auto[a,b,c]=*it;
                 ^