Run ID:69844

提交时间:2024-04-09 19:23:12

#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; a=39/g; e=39/s; c=39/b; x=39%g; y=39%s; z=39%b; printf ("%.3llf\n%d %d\n%d %d\n%d %d\n",d,a,x,e,y,c,z); return 0; }