Tinkoff Challenge – Final Round (Codeforces Round #414, rated, Div. 1 + Div. 2), problem: (B) Cutting Carrot Solution In C/C++

#include<bits/stdc++.h>
int main(){double p,l,i=1;std::cin>>p>>l;for(;i<p;)printf(“%.7f “,sqrt(i++/p)*l);}

(Visited 36 times, 1 visits today)

About the Author:

Leave A Comment