Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
89260 | 刘佳宇 | 05买水果 | C++ | Wrong Answer | 1 MS | 264 KB | 256 | 2024-08-23 14:11:42 |
#include<iostream> using namespace std; int main(){ int a,b,c,e; a=5; b=8; c=12; e=39; cout<<(a+b+c)/3.0<<endl; cout<<e/a<<" "<<e%a<<endl; cout<<e/b<<" "<<e%b<<endl; cout<<e/c<<" "<<e%c<<endl; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.33333 7 4 4 7 3 3