2 solutions
- 1
Information
- ID
- 6878
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- 1
- Tags
- # Submissions
- 8
- Accepted
- 7
- Uploaded By
#include #include #include using namespace std;
int main() { double x, n; cin >> x >> n; double result = x * pow(1.001, n); cout << fixed << setprecision(4) << result << endl; return 0; }
By signing up a HFOJ universal account, you can submit code and join discussions in all online judging services provided by us.