Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81060 唐安轩 05买水果 C++ Accepted 0 MS 264 KB 283 2024-07-12 09:34:02

Tests(1/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.0; printf("%.3f\n",e); cout<<39/5<<" "<<39%5<<endl; cout<<39/8<<" "<<39%8<<endl; cout<<39/12<<" "<<39%12; return 0; }