Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142988 冯祥瑞 02买礼物 C++ Compile Error 0 MS 0 KB 312 2026-01-11 17:35:15

Tests(0/0):


Code:

per_set_price = 220 # 每套保暖内衣价格 num_elders = 4 # 老人数量 total_money = 1000 # 爸妈带的钱 # 计算保暖内衣总花费 total_spent = per_set_price * num_elders # 计算剩余钱数 remaining_money = total_money - total_spent # 输出结果 print(remaining_money)