Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117017 李茗宇 06买鸡腿 C++ Accepted 1 MS 280 KB 223 2025-04-13 13:27:00

Tests(10/10):


Code:

#include <iostream> 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; }