Sponsors

Tag: problem: (B) Cutting Carrot Solution In C/C++

Tinkoff Challenge – Final...

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

Advertisement

spot_img