Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // F. Благотворительность в царстве-государстве - 1
- #include <math.h>
- #include <iomanip>
- #include <iostream>
- using namespace std;
- int main()
- {
- int a,b,c,d,n = {0};
- cin >> a >> b >> c >> d;
- cin >> n;
- a -= n;
- b -= n;
- c -= n;
- d -= n;
- cout << "A:" << a << " B:" << b << " C:" << c << " D:" << d << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement