https://i2.wp.com/eblogarithm.com/wp-content/uploads/2017/07/Tinkoff-Challenge--Final-Round-Codeforces-Round-414-rated-Div-1--Div-2-problem-B-Cutting-Carrot-Solution-In-CC1.png?fit=640%2C360

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 13 times, 1 visits today)



There are no comments

Add yours

Leave a Reply

%d bloggers like this: