语法题
基础 + 简单
使用 iostream 头文件的编译速度比使用 cstdio慢 ,因为前者包含的头文件少,所以要想使编译速度快,使用cstdio的 scanf 和 printf()
// #include <iostream>
#include <cstdio>
using namespace std;
int main() {
int a, b, c, d;
// cin >> a >> b >> c >> d;
// cout << "DIFERENCA = " << a * b - c *d;
scanf("%d%d%d%d",&a, &b, &c, &d);
printf("DIFERENCA = %d", a * b - c * d);
return 0;
}