摘要:
板子题 当|X|+|Y|最小时,那么是ax+by=gcd(a,b) 输入格式乱搞,见谅 #include<iostream> using namespace std; typedef long long LL; LL exgcd(LL a,LL b,LL &x,LL &y) { if(b==0) { 阅读全文
posted @ 2022-04-21 22:11
magicat
阅读(30)
评论(2)
推荐(0)
摘要:
C++作业 #include <iostream> #include <algorithm> using namespace std; class TDate { public: TDate(int y,int m,int d):year(y),month(m),day(d) {} TDate(){ 阅读全文
posted @ 2022-04-21 20:30
magicat
阅读(37)
评论(0)
推荐(0)
浙公网安备 33010602011771号