跳到正文

个人记录

测试渲染 Plus

#SUSPENDED#约 3 分钟
原文
文章信息与版本

文章信息

发布
2026年2月17日
收录
2026年3月28日
更新
2026年11月15日
篇幅
约 3 分钟

版本

  1. v1当前

测试渲染!!!

我是标题
我是标题

大家好啊,我是说的道理,今天来点大家想看的东西。

E=mc2E=mc^2

114514114514

(1234)\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}

fff

123
456

fff

这时的你欣喜若狂,于是把上面的四个式子相加轻松解出了方程组的解

{x1=−1x2=0x3=1x4=2\begin{cases} x_1=-1\\ x_2=0\\ x_3=1\\ x_4=2 \end{cases}

但是我们换一个方程组

{x1+x2+x3+x4=10x1+2x2+3x3+4x4=302x1+x2+x3+3x4=204x1+4x2+5x3+8x4=60\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=mc2E=mc^2

∑i≤ni=1ai\sum^{i=1}_{i\le n}a_i
111
111
111
  • 1
  • 1
  1. 1
  2. 2
  3. 3

111 111

111

C++
# 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;
}

标题

内容

WARNING

内容

标题

内容

标题

内容

111

——otto

111

111

原文