foo.cc: In function 'int main()':
foo.cc:136:25: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
printf("%llf.",inter);
^
foo.cc:137:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(success=false){
~~~~~~~^~~~~~
foo.cc:141:38: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
case notx:printf("%llf",small);break;
^
foo.cc:142:40: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
case chun:printf("(%llf)",small);break;
^
foo.cc:143:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
case hun:printf("%llf(%llf)",small,small2);break;
^
foo.cc:143:50: warning: use of 'll' length modifier with 'f' type character has either no effect or undefined behavior [-Wformat=]
foo.cc:85:9: warning: unused variable 'blen' [-Wunused-variable]
int blen=longer(b);
^~~~
foo.cc:90:9: warning: variable 'dot' set but not used [-Wunused-but-set-variable]
int dot;
^~~
foo.cc:79:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
~~~~~^~~~~~~~~~~~~~~
foo.cc:129:13: warning: 'start_jl' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(c/b==start_jl){
^~