#include <iostream> #include <cmath> using namespace std; int main() { double x; cin >> x; //if(x<0) printf("-") ,x=-x; //printf("%lf",pow(x,1/3.0)); // pow不能处理负数 printf("%lf",cbrt(x)); }
大佬大佬! 学到了
大佬大佬!
学到了