Run ID:89260
提交时间:2024-08-23 14:11:42
#include<iostream> using namespace std; int main(){ int a,b,c,e; a=5; b=8; c=12; e=39; cout<<(a+b+c)/3.0<<endl; cout<<e/a<<" "<<e%a<<endl; cout<<e/b<<" "<<e%b<<endl; cout<<e/c<<" "<<e%c<<endl; }