- [程序设计] 兔子繁殖问题
123
- 2025-3-15 11:16:05 @
#include<bits/stdc++.h> using namespace std;
int main() { int n, k; cin >> n >> k;
double r = n * pow(1.72, k);
int f = ceil(r);
cout <<f<<endl;
return 0;
}
0 comments
No comments so far...
Information
- ID
- 959
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 6
- Tags
- # Submissions
- 29
- Accepted
- 12
- Uploaded By