Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
88571 | 汤奕硕 | 05买水果 | C++ | Accepted | 1 MS | 264 KB | 264 | 2024-08-19 13:45:13 |
#include <iostream> #include <cstdio> using namespace std; int main() { const int X=5,P=8,PT=12; printf("%.3f \n",(X+P+PT)/3.0); cout<<39/X<<" "<<39%X<<endl; cout<<39/P<<" "<<39%P<<endl; cout<<39/PT<<" "<<39%PT<<endl; return 0; }