Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88574 赵天瑜 05买水果 C++ Accepted 0 MS 260 KB 286 2024-08-19 13:49:31

Tests(1/1):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { const int banana=5,apple=8,grape=12; printf("%.3lf\n",(banana+apple+grape)/3.0); cout<<39/5<<" "<<39%5<<endl; cout<<39/8<<" "<<39%8<<endl; cout<<39/12<<" "<<39%12<<endl; return 0; }