提交时间:2019-09-16 12:56:02

运行 ID: 68

#include <iostream> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int t=a/3; a=t; b+=t; c+=t; t=b/3; b=t; a+=t; c+=t; c=c/3; a+=c; b+=c; cout<<a<<" "<<b<<" "<<c<<endl; }