Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 01 / Solutions / task6.cpp
blob: 15dab3d9915972824f21951f5fc8ed325ae5280e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <iostream>
using namespace std;

int main()
{
	int a, b;
	cin >> a >> b;

	int expr1 = a + b;
	int expr2 = a - b;

	int res = expr1 * expr1 * expr1 * expr1 - expr2 * expr2;

	cout << res;

}