Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135560 张咏灏 06买鸡腿 C++ Accepted 1 MS 268 KB 182 2025-11-05 19:56:32

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a,b; cin>>a>>b; if(b/a>=3){ cout<<b/a+b/a/3; }else{ cout<<b/a; } return 0; }