Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4794 邓小龙 02买礼物 C++ Accepted 0 MS 260 KB 215 2024-09-16 20:26:24

Tests(1/1):


Code:

# include<iostream> using namespace std; int main(){ int m=1000,yi=220,ans;//m一开始的钱总数,yi一件衣服的价格 ans=m-yi*4;//ans是最后剩下的钱 cout<<ans<<endl; return 0; }