Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
121463 | 周民苡 | 05买水果 | C++ | Accepted | 1 MS | 264 KB | 289 | 2025-06-07 14:36:12 |
#include<iostream> #include<cstdio> using namespace std; int main() { int m=8; int b=5; int a=12; double n=(b+m+a)/3.0; printf("%.3lf\n",n); cout<<39/b<<" "<<39%b<<endl; cout<<39/m<<" "<<39%m<<endl; cout<<39/a<<" "<<39%a<<endl; return 0; }