Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101423 李朋秦 05买水果 C++ Accepted 0 MS 268 KB 354 2024-12-15 12:06:37

Tests(1/1):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b,c; double e; a=5; b=8; c=12; e=(a+b+c)/3.0; printf("%.3lf\n",e); printf("%d\n",39/a); printf("%d\n",39%a); printf("%d\n",39/b); printf("%d\n",39%b); printf("%d\n",39/c); printf("%d\n",39%c); return 0; }