Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
157872 江佳航 05买水果 C++ Wrong Answer 2 MS 260 KB 548 2026-08-18 17:47:50

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 a,b,c; a=5; b=8; c=12; printf("%.3lf\n",(a+b+c)/3.0); int x=39/5; int x2=39%5; int p=39/8; int p2=39%5; int q=39/12; int q2=39%12; cout<<x<<endl<<x2<<endl; cout<<p<<endl<<p2<<endl; cout<<q<<endl<<q2<<endl; return 0; }


Run Info:

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