13 lines
226 B
C++
13 lines
226 B
C++
|
//#include <iostream>
|
||
|
//using namespace std;
|
||
|
//int main(){
|
||
|
// double h;
|
||
|
// cin >> h;
|
||
|
// double sum = 0;
|
||
|
// for (int i = 0; i < 10; i++)
|
||
|
// {
|
||
|
// sum += (h + h / 2.0);
|
||
|
// h = h / 2.0;
|
||
|
// }
|
||
|
// cout << sum - h<<" "<<h;
|
||
|
//}
|