Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81055 唐安轩 05买水果 C++ Wrong Answer 1 MS 264 KB 287 2024-07-12 09:32:00

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,d; float e; a=5; b=8; c=12; e=(a+b+c)/3; printf("%.3f\n",e); cout<<39/5<<" "<<39%5<<endl; cout<<39/8<<" "<<39%8<<endl; cout<<39/12<<" "<<39%12<<endl; return 0; }


Run Info:

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