Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
3875 邓小龙 05买水果 C++ Accepted 0 MS 256 KB 307 2024-07-16 14:09:34

Tests(1/1):


Code:

# include<iostream> # include<iomanip> using namespace std; int main(){ int a=5,b=8,c=12; cout<<fixed<<setprecision(3)<<(a+b+c)/3.0<<endl; cout<<39/a<<endl; cout<<39%a<<endl; cout<<39/b<<endl; cout<<39%b<<endl; cout<<39/c<<endl; cout<<39%c<<endl; return 0; }