跳到正文

个人记录

测试

#SUSPENDED#约 2 分钟
原文

这是 2026年2月23日 存档的第 1 版,不是当前版本。查看当前版本

文章信息与版本

文章信息

发布
2026年2月16日
收录
2026年2月24日
更新
2026年11月19日
篇幅
约 2 分钟

版本

  1. v7当前
  2. v6
  3. v5
  4. v4
更早的 3 个版本
  1. v3
  2. v2
  3. v1

测试渲染!!!

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;
}

标题

内容

标题

内容

标题

内容

标题

内容

111

——otto

111

111