Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135348 万明宇 06买鸡腿 C++ Accepted 1 MS 272 KB 275 2025-11-03 17:02:50

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; int bought = b / a; int free = bought / 3; int total = bought + free; cout << total << endl; return 0; }