Run ID:126258
提交时间:2025-07-16 17:32:00
#include <bits/stdc++.h> using namespace std; int main() { int a = 5; //5 int b = 8; //7 int c = 12; //12 double d = (a + b + c) / 3.0; cout << fixed << setprecision(3) << d << endl; cout << 39 / a << " "<< 39 % a << endl; cout << 39 / b << " "<< 39 % b << endl; cout << 39 / c <<" "<< 39 % c << endl; return 0; }