Run ID:4536

提交时间:2024-08-21 14:31:58

#include<iostream>//头文件 using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; //有的钱/每一支铅笔的价钱=?支···余下多少钱 //一支铅笔的价格:a*10+b角 //有的钱:c*10+d角 cout<<(c*10+d)/(a*10+b); return 0; }