任何时间,任何地点,一行主函,轻松解决

刘嘉柚  •  3个月前


include<bits/stdc++.h>

using namespace std; typedef long long ll; double h; int main(){

cin>>h;printf("%.3lf %.3lf",h+h+h/2+h/4+h/8+h/16+h/32+h/64+h/128+h/256,h/1024);

}


评论: