/in/foo.cc: In function 'int main()':
/in/foo.cc:6:18: warning: right operand of comma operator has no effect [-Wunused-value]
6 | cin>>V,G,M,N;
| ^
/in/foo.cc:6:20: warning: right operand of comma operator has no effect [-Wunused-value]
6 | cin>>V,G,M,N;
| ^
/in/foo.cc:6:21: warning: right operand of comma operator has no effect [-Wunused-value]
6 | cin>>V,G,M,N;
| ^
/in/foo.cc:7:17: warning: 'M' is used uninitialized [-Wuninitialized]
7 | if(0.5*V<M)
| ~~~~~^~
/in/foo.cc:5:17: note: 'M' was declared here
5 | int V,G,M,N;
| ^
/in/foo.cc:10:23: warning: 'N' may be used uninitialized [-Wmaybe-uninitialized]
10 | cout<<N<<endl;
| ^
/in/foo.cc:5:19: note: 'N' was declared here
5 | int V,G,M,N;
| ^