Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99843 | 唐俊逸 | 05买水果 | C++ | Accepted | 1 MS | 264 KB | 442 | 2024-11-30 18:50:34 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int j,x,p,t ; x=5; p=8; t=12; printf("%.3lf\n",(x+p+t)/3.0); cout<<39/x<<" "<<39%x<<endl; cout<<39/p<<" "<<39%p<<endl; cout<<39/t<<" "<<39%t<<endl; return 0; }