Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Dejalo a la Suerte
//g++ 5.4.0 #include <iostream> using namespace std; int main() { int casos; double k,n,n2,div,res; cin>>casos; while(casos--){ n2=1; cin>>n>>k; for(int i=0;i<n;i++){ n2=n2*2; } div=n2-2*n-2; //cout<<div<<"\n"; res=k/div; printf("%.5lf\n",res*1000000000000000); } }
run
|
edit
|
history
|
help
0
Segment Tree
UsingAlgorithm
Virtuals
CPP - Pointers - Ex.3
Trace
Varadic macro
OTHER - Two robots
Gauss 4x4 reducido
Aplicatie-Proiect
Client