Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157297 杨正蠔 05买水果 C++ Accepted 1 MS 260 KB 401 2026-07-22 09:43:19

Tests(1/1):


Code:

#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(){ printf("%.3lf",(5.0+8.0+12.0)/3); cout<<endl<<39/5<<' '<<39%5<<endl<<39/8<<' '<<39%8<<endl<<39/12<<' '<<39%12<<endl; return 0; }