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

AC in 0.015 sec
Posted by cosmicray001 5 Oct 2017 19:54
#include <bits/stdc++.h>

using namespace std;

int main()
{
    int a, a2, a3;
    int b, b2, b3;
    scanf("%d %d %d %d %d %d", &a, &b, &a2, &b2, &a3, &b3);
    int bb1 = a - a3;
    int bb2 = b - b2;
    printf("%d %d\n", bb1, bb2);

    return 0;
}