ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2001. Mathematicians and Berries

С++ solution
Posted by VlasovNikita 8 Nov 2018 22:11
#include <iostream>
using namespace std;

main()
{
    int a, b ;
    int a1 , b1;
    int a2 , b2;
    cin >> a >> b;
    cin >> a1 >> b1;
    cin >> a2 >> b2;

    int c = b - b1;
    int c1 = a - a2;
    cout << c1 << " " <<  c;
    return 0;
}

____________________________________
Держите)