看板 C_and_CPP 關於我們 聯絡資訊
看起來不難的一題 測資也都OK 還是WA @@" #include <iostream> #include <cmath> using namespace std; int main() { double n; double p; while(cin >> n >> p){ cout<< pow(p,(double)1/n)<<endl; } return 0; } thanks! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.228.175.19