求两个二进制数的最大公约数
#include<iostream>#include<cstring>using namespace std;char s1[2005],s2[2005];struct node{ int len; int w[2005];};node Tr(char s[]){int m=...
HDU 5050 高精度二进制数的最大公约数(C++ && Java)
C++版: #include <iostream>#include <cstring>#include <cstdlib>#include <cstdio>#include <cmath>#include <algorithm>...
Sicily 1732 Alice and Bob (二进制数的最大公约数)
链接: http://soj.me/1732 ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescription:Alice is a beautiful and clever girl. Bob would like to play with...