Run ID:69847
提交时间:2024-04-09 19:25:52
#include <bits/stdc++.h> using namespace std; int main () { int g=5,s=8,b=12,a,e,c,x,y,z; double d=(g+s+b)/3.0; a=39/g; e=39/s; c=39/b; x=39%g; y=39%s; z=39%b; printf ("%.3lf\n%d %d\n%d %d\n%d %d\n",d,a,x,e,y,c,z); return 0; }