运行 ID: 145821

Main.cc: In function ‘int main()’:
Main.cc:6:5: error: ‘scatf’ was not declared in this scope
     scatf(a,b);
     ^~~~~
Main.cc:6:5: note: suggested alternative: ‘scanf’
     scatf(a,b);
     ^~~~~
     scanf
Main.cc:7:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
     printf("%d+%d",a,b);
                       ^
Main.cc:7:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘double’ [-Wformat=]