摘要:
long long ext_gcd(long long a,long long b,long long &x,long long &y){ long long t,ret; if(!b){ x=1,y=0; return a; } ret=ext_gcd(b,a%b,x,y); t=x,x=y,y=t-a/b*y; ... 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace ConsoleApp2 { class Program { static vo... 阅读全文