Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69847 杨珞烯 05买水果 C++ Accepted 1 MS 264 KB 253 2024-04-09 19:25:52

Tests(1/1):


Code:

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