Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154587 陈启遥 02买礼物 C++ Accepted 1 MS 256 KB 293 2026-05-30 17:19:18

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ const int ELDER_COUNT = 4; const int PRICE_PER_SET = 220; const int TOTAL_MONEY = 1000; int remaining = TOTAL_MONEY - ELDER_COUNT * PRICE_PER_SET; cout << remaining << endl; return 0; }