11099 - Money Money
raw download clone
C
views 17
,
size 193 b
#include <stdio.h>

int main(void)
{
    int x, y, z;

    scanf("%d%d%d", &x, &y, &z);
    printf("%d %d %d\n", (x + z - y) / 2, (x + y - z) / 2, (y + z - x) / 2);

    return 0;
}
close fullscreen
Login or Register to edit or fork this paste. It's free.