Find Integer(费马大定理的使用)
| Problem Description people in USSS love math very much, and there is a famous math problem .
Input one line contains one integer T ;(1≤T≤1000000)
Output print two integers b ,c if b ,c exits;(1≤b,c≤1000 ,000 ,000) ;
Sample Input
1 2 3
Sample Output
4 5
费马大定理在加上勾股数的一些规律: 费马大定理: a^n+b^n=c^n在n>2时是不成立的。 勾股数规律: https://wenku.baidu.com/view/8282f1b669eae009591bec85.html
#include int main()
|
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
