Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
89039 赵天瑜 06买鸡腿 C++ Accepted 1 MS 272 KB 228 2024-08-21 18:28:33

Tests(10/10):


Code:

#include<iostream> #include<cstdio> #include<iomanip> #include<string> using namespace std; int main() { int a,b; cin>>a>>b; int c,d; c=(b/(3*a))*4; d=(b%(3*a))/a; cout<<c+d; return 0; }