Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88573 | 赵天瑜 | 05买水果 | C++ | Wrong Answer | 1 MS | 264 KB | 320 | 2024-08-19 13:48:50 |
#include<iostream> #include<cstdio> using namespace std; int main() { const int banana=5,apple=8,grape=12; double avg; avg=(banana+apple+grape)/3.0; printf("%.3lf元\n",avg); cout<<39/5<<" "<<39%5<<endl; cout<<39/8<<" "<<39%8<<endl; cout<<39/12<<" "<<39%12<<endl; return 0; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.333元 7 4 4 7 3 3