Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6902 | 赖梓乐 | 06买鸡腿 | C++ | Wrong Answer | 0 MS | 268 KB | 330 | 2025-03-23 15:33:46 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ double a,b; cin>>a>>b; cout<<b/a+(int)(b/a/3); return 0; }
------Input------
7 39
------Answer-----
6
------Your output-----
6.57143