Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
121460 周民苡 05买水果 C++ Wrong Answer 1 MS 260 KB 325 2025-06-07 14:34:00

Tests(0/1):


Code:

#include<iostream> #include<cstdio> using namespace std; int main() { int m=8; int b=5; int a=12; double n=(b+m+a)/3.0; printf("%.3lf\n",n); cout<<"香蕉"<<39/b<<"余"<<39%b<<endl; cout<<"苹果"<<39/m<<"余"<<39%m<<endl; cout<<"葡萄"<<39/a<<"余"<<39%a<<endl; return 0; }


Run Info:

------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.333 香蕉7余4 苹果4余7 葡萄3余3