|
|
back to boardtest 11 ......sad.... Posted by xinxin 7 Oct 2016 20:04 #include<iostream> using namespace std; int main() { double n; long long int m,i; cin>>m;
for(i=1;i<10000000000000000000;i++) { n=sqrt(i*i*i*m); if(n==floor(n+0.5)) { cout<<n<<endl<<i; break; } } fflush(stdin); getchar(); return 0; } |
|
|