Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102420 | 牟承浩 | 05买水果 | C++ | Wrong Answer | 1 MS | 264 KB | 257 | 2024-12-21 15:58:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int ba = 5,ap = 8,gr = 12; double average=(ba + ap + gr)/3.0; printf("%.31f\n",average); cout<<39/ba<<39%ba<<endl; cout<<39/ap<<39%ap<<endl; cout<<39/gr<<39%gr<<endl; return 0; }
------Input------
0
------Answer-----
8.333 7 4 4 7 3 3
------Your output-----
8.3333333333333339254522798000835 74 47 33