building4.cpp: In function 'int getint()':
building4.cpp:7:16: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
register char ch;
^~
building4.cpp:9:15: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
register int x=ch^'0';
^
building4.cpp: In function 'int main()':
building4.cpp:20:19: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int i=1;i<=n;i++) v[i][0]=getint();
^
building4.cpp:21:19: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int i=1;i<=n;i++) v[i][1]=getint();
^
building4.cpp:22:19: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int i=1;i<=n;i++) {
^
building4.cpp:23:20: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int j=0;j<2;j++) {
^
building4.cpp:24:21: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int k=0;k<2;k++) {
^
building4.cpp:39:19: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int i=n;i>=1;i--) {
^
building4.cpp:40:20: warning: ISO C++1z does not allow 'register' storage class specifier [-Wregister]
for(register int k=0;k<2;k++) {
^