Mã chấm: 267955
Main.cc: In function ‘int main()’:
Main.cc:10:13: error: ‘tientra’ was not declared in this scope
tientra = (A * X) + (B * Y);
^~~~~~~
Main.cc:16:13: error: expected ‘;’ before ‘:’ token
return 0:
^
Main.cc:16:13: error: expected primary-expression before ‘:’ token
Main.cc:7:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &A, &B, &X, &Y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~