Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89024 | 欧阳俊懿 | 05买水果 | C++ | Wrong Answer | 1 MS | 268 KB | 269 | 2024-08-21 17:42:48 |
#include<iostream> using namespace std; int main() { int a,b,c; a=5; b=8; c=12; double x; x=(a+b+c)/3; cout<<x<<endl; cout<<39/a<<" "<<39%a<<endl; cout<<39/b<<" "<<39%b<<endl; cout<<39/c<<" "<<39%c<<endl; return 0; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8 7 4 4 7 3 3