menesinis_bilietas.cpp: In function 'void init()':
menesinis_bilietas.cpp:33:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
33 | for(register int i = 1; i <= N; ++i) sizel[i] = 1, fa[i] = i;
| ^
menesinis_bilietas.cpp: In function 'int main()':
menesinis_bilietas.cpp:47:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
47 | for(register int i = 1, x, y; i <= M; ++i){
| ^
menesinis_bilietas.cpp:47:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
47 | for(register int i = 1, x, y; i <= M; ++i){
| ^
menesinis_bilietas.cpp:47:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
47 | for(register int i = 1, x, y; i <= M; ++i){
| ^
menesinis_bilietas.cpp:56:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
56 | for(register int i = 1; i <= N; ++i){
| ^
menesinis_bilietas.cpp:59:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
59 | for(register int i = 0; i < (int)laaa.size(); ++i){
| ^
menesinis_bilietas.cpp:67:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
67 | for(register int i = 0; i < components; ++i){
| ^