运行 ID: 223
Main.cc: In function ‘int main()’:
Main.cc:4:24: warning: format ‘%f’ expects a matching ‘float*’ argument [-Wformat=]
scanf("%f %f %f",&a);
^
Main.cc:4:24: warning: format ‘%f’ expects a matching ‘float*’ argument [-Wformat=]
Main.cc:10:12: error: unable to find string literal operator ‘operator""b’ with ‘const char [5]’, ‘long unsigned int’ arguments
printf("%.1f"b);
^~~~~~~
Main.cc:11:12: error: expected ‘}’ at end of input
return 0;
^
Main.cc:4:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f %f %f",&a);
~~~~~^~~~~~~~~~~~~~~