Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107019 | 胥博雯 | 05买水果 | C++ | Wrong Answer | 1 MS | 264 KB | 248 | 2025-01-17 10:57:56 |
#include<iostream> #include<cstdio> using namespace std; int main(){ int b=5,a=8,g=12,y=39; printf("%.3f\n",(b+a+g)/3.0); cout<<y/b<<" "<<y%b<<endl; cout<<y/b<<" "<<y%a<<endl; cout<<y/b<<" "<<y%g<<endl; return 0; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.333 7 4 7 7 7 3