rings.cpp:32:40: warning: bad option '-funroll-lopps' to pragma 'optimize' [-Wpragmas]
32 | #pragma GCC optimize ("03,unroll-lopps")
| ^
rings.cpp:40:13: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
40 | void init(){for(int i=0;i<n;i++)pa[i]=i,deg[i]=dep[i]=0;}
| ^
rings.cpp:41:17: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
41 | int find(int u){
| ^
rings.cpp:47:24: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
47 | bool merg(int a,int b){
| ^
rings.cpp:64:17: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
64 | void Init(int N_){
| ^
rings.cpp:70:27: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
70 | void make(int node,int pos){
| ^
rings.cpp:74:22: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
74 | void Link(int a,int b){
| ^
rings.cpp: In function 'void Link(int, int)':
rings.cpp:78:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int i=0;i<have.size();i++)if(a!=have[i]&&b!=have[i])t[i+1].merg(a,b);
| ~^~~~~~~~~~~~
rings.cpp:92:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(int i=0;i<have.size();i++)make(have[i],i+1);
| ~^~~~~~~~~~~~
rings.cpp: At global scope:
rings.cpp:97:19: warning: bad option '-funroll-lopps' to attribute 'optimize' [-Wattributes]
97 | int CountCritical(){
| ^
rings.cpp: In function 'int CountCritical()':
rings.cpp:100:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | for(int i=0;i<have.size();i++)sum+=t[i+1].ans;
| ~^~~~~~~~~~~~