Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123315 唐俊逸 05买水果 C++ Accepted 1 MS 264 KB 605 2025-06-28 19:18:35

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(){ int x=5,pl=8,po=12,q=39; printf("%.3f\n",(x+pl+po)/3.0); cout<<q/x<<" "<<q%x<<endl; cout<<q/pl<<" "<<q%pl<<endl; cout<<q/po<<" "<<q%po<<endl; return 0; }