Run ID:4537

提交时间:2024-08-21 14:32:30

#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; }