#include<stdio.h>
main(){ int o,p,q;
scanf("%d%d",&o,&p);
q=o+p; printf("%d",q);
scanf("%d%d",&o,&p); q=o*p;printf("%d",q); scanf("%d%d",&o,&p);
q=o/p; printf("%d",q); scanf("%lf%lf",&o,&p);
q=o+p; printf("%lf",q);
scanf("%lf%lf",&o,&p); q=o*p;printf("%lf",q); scanf("%lf%lf",&o,&p);
q=o/p; printf("%lf",q); }
时间: 2024-12-23 04:41:36