Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161776 屠思宇 02买铅笔 C++ Accepted 1 MS 276 KB 212 2026-10-07 13:39:01

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b,c,d; cin>>a>>b>>c>>d; int price = a*10+b; int money = c* 10+d; int ans = money/price; cout<<ans<<'\n'; return 0; }