Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151666 解禾溪 05买水果 C++ Accepted 1 MS 264 KB 358 2026-04-17 18:30:27

Tests(1/1):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ double a=5,b=8,c=12,d=39,e,f,g,h; e=(a+b+c)/3; printf("%.3lf\n",e); cout<<39/5<<endl; cout<<39%5<<endl; cout<<39/8<<endl; cout<<39%8<<endl; cout<<39/12<<endl; cout<<39%12<<endl; return 0; }