正文
增加 150 行删除 0 行
3 行未改动45673 行未改动[blog](https://blog.hpdnya.com)3 行未改动4567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561573 行未改动[blog](https://blog.hpdnya.com)## 测试渲染!!!::::info[我是标题]:::info[我是标题]大家好啊,我是说的道理,今天来点大家想看的东西。:::::::$$E=mc^2$$$$114514$$$$\begin{pmatrix}1 & 2 \\3 & 4\end{pmatrix}$$fff|1 |2 |3 ||:-:|:-:|:-:||4 |5 |6 |fff这时的你欣喜若狂,于是把上面的四个式子相加轻松解出了方程组的解$$\begin{cases}x_1=-1\\x_2=0\\x_3=1\\x_4=2\end{cases}$$但是我们换一个方程组$$\begin{cases}x_1+x_2+x_3+x_4=10\\x_1+2x_2+3x_3+4x_4=30\\2x_1+x_2+x_3+3x_4=20\\4x_1+4x_2+5x_3+8x_4=60\end{cases}$$你就不会做了,今天我们就一起来探讨一下多元线性方程组的做法。# 1## 1### 1#### 1**111** _111_ ~~111~~$E=mc^2$$$\sum^{i=1}_{i\le n}a_i$$|1 |1 |1 ||:-:|:-:|:-:||1 |1 |1 ||1 |1 |1 |- 1- 11. 11. 21. 3> 111> 111```cpp# include <bits/stdc++.h>using namespace std;typedef long long LL;const int N = 1e4 + 10 , p = 19260817;LL a , b , x , y;string s;LL exgcd(LL a , LL b , LL& x , LL& y){if(!b) return x = 1 , y = 0 , a;LL g = exgcd(b , a % b , y , x);y -= a / b * x;return g;}void solve(){cin >> s;for(const char& c : s) ((a *= 10) += c - '0') %= p;cin >> s;for(const char& c : s) ((b *= 10) += c - '0') %= p;if(b){LL g = exgcd(b , p , x , y);cout << ((x % p + p) % p * (a / g)) % p;}else cout << "Angry!";return ;}int main(){ios::sync_with_stdio(0);cin.tie(0), cout.tie(0);int q = 1;while(q --) solve();return 0;}```---::::info[标题]{open}内容::::::::warning[标题]{open}内容::::::::success[标题]{open}内容::::::::error[标题]{open}内容:::::::epigraph[——otto]111::::::align{center}111::::::align{right}111:::