Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126258 葛锦东 05买水果 C++ Accepted 0 MS 264 KB 335 2025-07-16 17:32:00

Tests(1/1):


Code:

#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; }