Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
116868 张暄浩 05买水果 Java Wrong Answer 0 MS 316 KB 416 2025-04-12 17:54:15

Tests(0/1):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ int a = 5,b = 8,c = 12; double average=(a+b+c)/3.0; printf("平均价格为%。3lf元\n",average); cout<<"香蕉可以买"<<39/a<<"斤 剩余"<<39%a<<"元"<<endl; cout<<"苹果可以买"<<39/b<<"斤 剩余"<<39%a<<"元"<<endl; cout<<"葡萄可以买"<<39/a<<"斤 剩余"<<39%a<<"元"<<endl; return 0; }


Run Info:

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