FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
GitHub Viewer
/** * 思路:没有优化的部分,只需依次算出 2,n-1 进制下的各位加和。注意最后表示分数的时候要做简化,先求出最大公约数。 * AC: * Time:62 ms Memory:0 KB * */ #include #include #include #include using namespace std; int gcd(int a, int b) { if(a
Back
|
FazBrowse Home
|
New Git URL