Run ID:87417
提交时间:2024-08-10 10:30:53
#include<bits/stdc++.h> using namespace std; int main(){ double h,r,m=0,s=1; cin>>h>>r; m=(3.14*r*r*h)/1000; while(1){ if(m<20){ m+=m; s++; } else break; } cout<<s; return 0; }