Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69307 杜奕辰 05买水果 C++ Accepted 0 MS 264 KB 275 2024-03-31 14:48:42

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int x,y,z; x=5.0; y=8.0; z=12.0; double s=(x+y+z)/3.0; printf ("%.3lf\n",s); cout << 39/x <<" "<< 39%x <<endl; cout << 39/y <<" "<< 39%y <<endl; cout << 39/z <<" "<< 39%z; return 0; }