Difference between revisions of "2018 CCPC Online Contest"
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
题意:给定$a$和$n$求$b$和$c$,求满足$a ^ n + b ^ n = c ^ n$ 一组$b$,$c$ | 题意:给定$a$和$n$求$b$和$c$,求满足$a ^ n + b ^ n = c ^ n$ 一组$b$,$c$ | ||
− | + | 题解:n一定等于1或者2,然后1的时候显然,2的时候勾股数构造一下就可以了。($a$为2时平方无解,但是出题人友好地去掉了这个情况) | |
== Problem E == | == Problem E == |
Revision as of 13:38, 25 August 2018
oxx
Problem A
Solved by dreamcloud.
题意:
题解:
Problem B
Unsolved.
题意:
题解:
Problem C
Solved by oxx1108.
题意:在环中重载加法和乘法,使得在满足$(m + n) ^ p = m ^ p + n ^ p$ $p$是素数
题解:直接重载取模意义下的加和乘就行了。证明费马小定理。
Problem D
Solved by oxx1108.
题意:给定$a$和$n$求$b$和$c$,求满足$a ^ n + b ^ n = c ^ n$ 一组$b$,$c$
题解:n一定等于1或者2,然后1的时候显然,2的时候勾股数构造一下就可以了。($a$为2时平方无解,但是出题人友好地去掉了这个情况)
Problem E
Solved by oxx1108.
题意:
题解:
Problem F
Unsolved.
题意:
题解:
Problem G
Unsolved.
题意:
题解:
Problem H
Unsolved.
题意:
题解:
Problem I
Solved by oxx1108.
题意:
题解:
Problem J
Solved by dreamcloud.
题意:
题解:
ECNU Foreigners
Problem A
Solved by kblack. 00:49 (+)
Problem B
Unsolved.
Problem C
Solved by zerol. 00:50 (+)
Problem D
Solved by zerol. 00:29 (+)
Problem E
Solved by ultmaster. 02:50 (+1)
Problem F
Unsolved. (-1)
Problem G
Solved by zerol. 03:03 (+3)
Problem H
Unsolved.
Problem I
Solved by kblack. 00:26 (+1)
Problem J
Solved by ultmaster. 00:36 (+)