communication.cpp: In function 'void encode(int, int)':
communication.cpp:12:11: warning: unused variable 'j' [-Wunused-variable]
12 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta;
| ^
communication.cpp:12:19: warning: unused variable 'fn' [-Wunused-variable]
12 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta;
| ^~
communication.cpp:12:22: warning: unused variable 'fm' [-Wunused-variable]
12 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta;
| ^~
communication.cpp: In function 'std::pair<int, int> decode(int)':
communication.cpp:94:11: warning: unused variable 'j' [-Wunused-variable]
94 | int i,j,m,cn,cm,fn,fm,cva = 0,be,cou = 0;
| ^
communication.cpp:94:13: warning: unused variable 'm' [-Wunused-variable]
94 | int i,j,m,cn,cm,fn,fm,cva = 0,be,cou = 0;
| ^
communication.cpp:94:18: warning: unused variable 'cm' [-Wunused-variable]
94 | int i,j,m,cn,cm,fn,fm,cva = 0,be,cou = 0;
| ^~
communication.cpp:94:21: warning: unused variable 'fn' [-Wunused-variable]
94 | int i,j,m,cn,cm,fn,fm,cva = 0,be,cou = 0;
| ^~
communication.cpp:94:24: warning: unused variable 'fm' [-Wunused-variable]
94 | int i,j,m,cn,cm,fn,fm,cva = 0,be,cou = 0;
| ^~
communication.cpp: In function 'void encode(int, int)':
communication.cpp:85:30: warning: array subscript 29989923 is above array bounds of 'int [510]' [-Warray-bounds]
85 | dran[29989923] ++;
| ~~~~~~~~~~~~~^
communication.cpp:9:5: note: while referencing 'dran'
9 | int dran[mxn] = {};
| ^~~~
communication.cpp:85:30: warning: array subscript 29989923 is above array bounds of 'int [510]' [-Warray-bounds]
85 | dran[29989923] ++;
| ~~~~~~~~~~~~~^
communication.cpp:9:5: note: while referencing 'dran'
9 | int dran[mxn] = {};
| ^~~~