数论
徐诚武
小白
展开
-
小菜第一篇。ax+by=c求解
include define LL long longusing namespace std; LL gcd(LL a,LL b) { return b?gcd(b,a%b):a; } void extend_Euclid(LL a, LL b, LL &x, LL &y) { if(b == 0) { x = 1; y原创 2015-05-29 19:18:12 · 991 阅读 · 0 评论 -
Read Phone Number
Description Do you know how to read the phone numbers in English? Now let me tell you.For example, In China, the phone numbers are 11 digits, like: 15012233444. Someone divides the numbers into 3-4-4原创 2016-06-01 20:40:07 · 500 阅读 · 0 评论