Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
1047 | 黄天泽 | 11种树 | C++ | Wrong Answer | 0 MS | 260 KB | 170 | 2023-06-24 15:42:41 |
#include<bits/stdc++.h> using namespace std; int main(){ double c,m,a,b; cin>>c>>m; a=c/m; b=a*m; if (m>=1){ cout<<a+1; }else{ cout<<int(a); } }
------Input------
596 99
------Answer-----
8
------Your output-----
7.0202