Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
107187 | 范恒恺 | 05买水果 | C++ | Accepted | 0 MS | 264 KB | 280 | 2025-01-17 14:35:11 |
#include<bits/stdc++.h> using namespace std; int main(){ double a,b,c; a=5; b=8; c=12; printf("%.3f\n",(a+b+c)/3); cout<<(39/5); cout<<" "; cout<<(39%5)<<endl; cout<<(39/8); cout<<" "; cout<<(39%8)<<endl; cout<<(39/12); cout<<" "; cout<<(39%12); return 0; }