| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78576 | 令狐文丽 | 05买水果 | C++ | Wrong Answer | 0 MS | 264 KB | 287 | 2024-06-22 20:14:32 |
#include<iostream> #include<cstdio> using namespace std; int main(){ printf("%.3lf\n",(5+8+12)/(3*1.0)); cout<<"购买香蕉"<<39/5<<"剩余"<<39%5<<endl; cout<<"购买苹果"<<39/8<<"剩余"<<39%8<<endl; cout<<"购买葡萄"<<39/12<<"剩余"<<39%12<<endl; return 0; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.333 购买香蕉7剩余4 购买苹果4剩余7 购买葡萄3剩余3