vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:16:7: warning: narrowing conversion of '(nn - 2)' from 'long long int' to 'int' [-Wnarrowing]
16 | v={nn-2,nn-1};
| ~~^~
vision.cpp:16:7: warning: narrowing conversion of '(nn - 2)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:16:12: warning: narrowing conversion of '(nn - 1)' from 'long long int' to 'int' [-Wnarrowing]
16 | v={nn-2,nn-1};
| ~~^~
vision.cpp:16:12: warning: narrowing conversion of '(nn - 1)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:65:7: warning: narrowing conversion of 'ls' from 'long long int' to 'int' [-Wnarrowing]
65 | v={ls};
| ^~
vision.cpp:65:7: warning: narrowing conversion of 'ls' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:66:15: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
66 | for(j=0;j<n-1>>i;j++)
| ~^~
vision.cpp:76:15: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
76 | for(j=1;j<n-1>>i;j+=2)
| ~^~
vision.cpp:78:12: warning: narrowing conversion of '((tg + j) - 1)' from 'long long int' to 'int' [-Wnarrowing]
78 | v={tg+j-1,tg+j};
| ~~~~^~
vision.cpp:78:12: warning: narrowing conversion of '((tg + j) - 1)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:78:17: warning: narrowing conversion of '(tg + j)' from 'long long int' to 'int' [-Wnarrowing]
78 | v={tg+j-1,tg+j};
| ~~^~
vision.cpp:78:17: warning: narrowing conversion of '(tg + j)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:83:15: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
83 | for(j=0;j<n-1>>i;j++)
| ~^~
vision.cpp:86:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
86 | if(j/2>=n-1>>i+1)
| ~^~
vision.cpp:90:10: warning: narrowing conversion of '(tg + j)' from 'long long int' to 'int' [-Wnarrowing]
90 | v={tg+j,k};
| ~~^~
vision.cpp:90:10: warning: narrowing conversion of '(tg + j)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:90:13: warning: narrowing conversion of 'k' from 'long long int' to 'int' [-Wnarrowing]
90 | v={tg+j,k};
| ^
vision.cpp:90:13: warning: narrowing conversion of 'k' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:96:15: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
96 | for(j=0;j<n-1>>i;j++)
| ~^~
vision.cpp:104:9: warning: narrowing conversion of '(nn - 2)' from 'long long int' to 'int' [-Wnarrowing]
104 | v={nn-2,nn-1};
| ~~^~
vision.cpp:104:9: warning: narrowing conversion of '(nn - 2)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:104:14: warning: narrowing conversion of '(nn - 1)' from 'long long int' to 'int' [-Wnarrowing]
104 | v={nn-2,nn-1};
| ~~^~
vision.cpp:104:14: warning: narrowing conversion of '(nn - 1)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:109:10: warning: narrowing conversion of '(ls + (iii == 0))' from 'long long int' to 'int' [-Wnarrowing]
109 | v={ls+!iii,nn-1-iii*2};
| ~~^~~~~
vision.cpp:109:10: warning: narrowing conversion of '(ls + (iii == 0))' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:109:20: warning: narrowing conversion of '((nn - 1) - (iii * 2))' from 'long long int' to 'int' [-Wnarrowing]
109 | v={ls+!iii,nn-1-iii*2};
| ~~~~^~~~~~
vision.cpp:109:20: warning: narrowing conversion of '((nn - 1) - (iii * 2))' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:113:9: warning: narrowing conversion of '(nn - 2)' from 'long long int' to 'int' [-Wnarrowing]
113 | v={nn-2,nn-1};
| ~~^~
vision.cpp:113:9: warning: narrowing conversion of '(nn - 2)' from 'long long int' to 'int' [-Wnarrowing]
vision.cpp:113:14: warning: narrowing conversion of '(nn - 1)' from 'long long int' to 'int' [-Wnarrowing]
113 | v={nn-2,nn-1};
| ~~^~
vision.cpp:113:14: warning: narrowing conversion of '(nn - 1)' from 'long long int' to 'int' [-Wnarrowing]