| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157852 | 江佳航 | 05买水果 | C++ | Accepted | 1 MS | 260 KB | 546 | 2026-08-18 16:05:45 |
#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,b,c; a=5; b=8; c=12; printf("%.3lf\n",(a+b+c)/3.0); int x=39/a; int x2=39%a; int p=39/b; int p2=39%b; int q=39/c; int q2=39%c; cout<<x<< " "<<x2<< " "; cout<<p<< " "<<p2<< " "; cout<<q<< " "<<q2<< " "; return 0; }