提交时间:2019-09-18 21:15:17

运行 ID: 336

#include<iostream> int main(){ int a,b,c,j,y,g; scanf("%d %d %d",&a,&b,&c); j=(a/3)+((b+(a/3))/3)+(c+(a/3)+((b+(a/3))/3))/3; y=(b+(a/3))/3+(c+(a/3)+((b+(a/3))/3))/3; g=(c+(a/3)+(b+a/3)/3)/3; printf("%d %d %d",j,y,g); return 0; }