Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96196 | 王子毅 | 05买水果 | C++ | Accepted | 1 MS | 268 KB | 257 | 2024-11-03 10:58:01 |
#include<iostream> 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; }