Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149313 zlx 02买礼物 C++ Accepted 0 MS 260 KB 291 2026-03-09 17:04:47

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