| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132921 | 郑羽辰 | 05买水果 | C++ | Accepted | 0 MS | 260 KB | 429 | 2025-10-12 16:40:36 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a=5,b=8,p=12; printf("%.3lf\n",(a+b+p)/3.0); int c=39/a,d=39/b,e=39/p; cout<<c<<" "<<39-c*a<<endl<<d<<" "<<39-d*b<<endl<<e<<" "<<39-e*p; return 0; }