Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95425 | 任艺宸 | 05买水果 | C++ | Wrong Answer | 0 MS | 264 KB | 275 | 2024-10-27 15:38:39 |
#include<iostream> #include<cstdio> using namespace std; int main() { int b=5,a=8,g=12; double av=(b+a+g)/3.0; printf("%.3lf\n",av); cout<<39/b<<","<<39%b<<endl; cout<<39/a<<","<<39%a<<endl; cout<<39/g<<","<<39%g<<endl; return 0; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.333 7,4 4,7 3,3