foo.cc: In function 'int main()':
foo.cc:44:17: error: 'cun' was not declared in this scope
printf("%.0lf",cun*1.2+sheng);
^~~
foo.cc:44:25: error: 'sheng' was not declared in this scope
printf("%.0lf",cun*1.2+sheng);
^~~~~
foo.cc:44:25: note: suggested alternative: 'setenv'
printf("%.0lf",cun*1.2+sheng);
^~~~~
setenv
foo.cc:11:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&bugst);
~~~~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务