Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147891 于墨轩 02买礼物 C++ Accepted 0 MS 264 KB 288 2026-02-08 23:04:43

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