12672 - Three number
raw download clone
C
views 25
,
size 195 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.