communication.cpp: In function 'void encode(int, int)':
communication.cpp:16:11: warning: unused variable 'j' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^
communication.cpp:16:13: warning: unused variable 'cn' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:16:16: warning: unused variable 'cm' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:16:19: warning: unused variable 'fn' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:16:22: warning: unused variable 'fm' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:16:25: warning: unused variable 'cou' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~~
communication.cpp:16:38: warning: unused variable 'csta' [-Wunused-variable]
16 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~~~
communication.cpp: In function 'std::pair<int, int> decode(int)':
communication.cpp:115:11: warning: unused variable 'j' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^
communication.cpp:115:13: warning: unused variable 'cn' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:115:16: warning: unused variable 'cm' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:115:19: warning: unused variable 'fn' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:115:22: warning: unused variable 'fm' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~
communication.cpp:115:25: warning: unused variable 'cou' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~~
communication.cpp:115:38: warning: unused variable 'csta' [-Wunused-variable]
115 | int i,j,cn,cm,fn,fm,cou = 0,cret,csta,cl = 1,cr = (n+1)/2,fl = cr+1,fr = n
| ^~~~
communication.cpp:116:16: warning: unused variable 'cse' [-Wunused-variable]
116 | ,cmid,fmid,cse,csen,of,clp,crp,flp,frp;
| ^~~
communication.cpp: In function 'void encode(int, int)':
communication.cpp:106:27: warning: 'frp' may be used uninitialized in this function [-Wmaybe-uninitialized]
106 | if(cl == cr && fl == fr)
| ~~~^~~~~
communication.cpp:106:27: warning: 'flp' may be used uninitialized in this function [-Wmaybe-uninitialized]
communication.cpp:106:15: warning: 'crp' may be used uninitialized in this function [-Wmaybe-uninitialized]
106 | if(cl == cr && fl == fr)
| ~~~^~~~~
communication.cpp:106:15: warning: 'clp' may be used uninitialized in this function [-Wmaybe-uninitialized]
communication.cpp: In function 'std::pair<int, int> decode(int)':
communication.cpp:175:21: warning: 'frp' may be used uninitialized in this function [-Wmaybe-uninitialized]
175 | if(cl == cr && fl == fr)
| ~~~~~~~~~^~~~~~~~~~~
communication.cpp:180:18: warning: 'flp' may be used uninitialized in this function [-Wmaybe-uninitialized]
180 | return {cl,fl};
| ^
communication.cpp:175:9: warning: 'crp' may be used uninitialized in this function [-Wmaybe-uninitialized]
175 | if(cl == cr && fl == fr)
| ^~
communication.cpp:180:18: warning: 'clp' may be used uninitialized in this function [-Wmaybe-uninitialized]
180 | return {cl,fl};
| ^