Run ID:157852
提交时间:2026-08-18 16:05:45
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b,c; a=5; b=8; c=12; printf("%.3lf\n",(a+b+c)/3.0); int x=39/a; int x2=39%a; int p=39/b; int p2=39%b; int q=39/c; int q2=39%c; cout<<x<< " "<<x2<< " "; cout<<p<< " "<<p2<< " "; cout<<q<< " "<<q2<< " "; return 0; }