Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6864 刘逸杭 05买水果 C++ Wrong Answer 0 MS 264 KB 431 2025-03-22 19:38:48

Tests(0/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 b=5,a=8,g=12; printf("%.3lf",(b+a+g)/3.0); printf("%ld %ld\n",39/b,39%b); printf("%ld %ld\n",39/a,39%a); printf("%ld %ld\n",39/g,39%g); return 0; }


Run Info:

------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.3337 4 4 7 3 3