摘要:
//#include<bits/stdc++.h>//万能头文件不过时间要用很多 #include<cstdio>//能不用cin就不用 #include<iostream> #include<cstring> using namespace std; int main(){ int n; cin> 阅读全文
摘要:
字符逆序: 输入:I am a student 输出: tneduts a ma I #include <iostream> #include <cstring> #include <algorithm> using namespace std; int main() { string a; get 阅读全文
摘要:
摘自:百度百科 在数论中,裴蜀定理是一个关于最大公约数(或最大公约式)的定理。裴蜀定理得名于法国数学家艾蒂安·裴蜀,说明了对任何整数a、b和它们的最大公约数d,关于未知数x和y的线性丢番图方程(称为裴蜀等式): ax + by = m 有解当且仅当m是d的倍数。裴蜀等式有解时必然有无穷多个整数解,每 阅读全文