Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95620 吕毅心 05买水果 C++ Accepted 1 MS 264 KB 358 2024-10-31 21:06:52

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