3132592879
高天之歌,与风同唱;听凭风引,且听风吟;千风涤荡,温门永存!
复白亘古事,诗人起歌喉。众神居尘世,人间几春秋。
https://uoj.ac/problem/693

5003>108
151A2E
03A3D7
2F9C7C
AFB83E
F8F9F4
https://unigravityqwq.github.io/
https://csacademy.com/app/graph_editor/
https://notes.sshwy.name/Math/Expectation/Classic
好听的东西
点我有惊喜
我正在筹划一场个人公开赛,目前正在招募验题人,验题时间不定,欢迎有志者参加(私信)。
因为这个唐诗过颓,它又没有出公开赛的打算了。
我是烂人。
LaTeX预写
只要不失去你的崇高,整个世界都会为你敞开。
如果你厌倦引力想要去飞行,我就让−−全世界的风吹向你。
若你困于无风之地,我将为你奏响高天之歌。
If you are trapped in a place without wind, I will play the song of the heavens.
若你困于无风之地,不要悲伤,希望总会破水而来。
若你困于无风之地,不要哭泣,风之花会指引你的方向。
若你困于无风之地,不必绝望,风与歌声总会前来。
那些悲伤惨痛的过去早已随着风消散如烟。那些席卷而来的恶意也被飓风撕裂。风神不在
蒙德,而风常在!

C++#include<bits/stdc++.h>
#define PII pair<int,int>
#define lowbit(x) x&(-x)
using namespace std;
const int N = 200005;
int n,m,ans[N],up[N],p[N];
bool tr[N],vis[N],ins[N];
struct node
{
int u,v;
}b[N];
struct nodee
{
int v,id;
};
vector<nodee>vec[N];
void dfs(int u,int fa)
{
up[u] = fa;
ins[u] = 1;
vis[u] = 1;
for (nodee i: vec[u])
{
if (i.v == fa) continue;
if (vis[i.v] && !ins[i.v])
{
if (b[i.id].u == u)
ans[i.id] = 2;
if (p[u] == 1) ans[i.id]++,p[u]--;
else p[u]++;
}
else if (!vis[i.v])
{
dfs(i.v,u);
if (b[i.id].u == u)
ans[i.id] = 2;
if (p[u] == 1) ans[i.id]++,p[u]--;
else p[u]++;
}
}
ins[u] = 0;
}
signed main()
{
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);
cin >> n >> m;
for (int i = 1; i <= m; i++)
{
cin >> b[i].u >> b[i].v;
vec[b[i].u].push_back({b[i].v,i});
vec[b[i].v].push_back({b[i].u,i});
}
for (int i = 1; i <= n; i++)
{
if (!vis[i])
dfs(i,0);
}
for (int i = 1; i <= m; i++)
{
if (p[i] < 2) cout << 'y';
else cout << 'x';
if (p[i]&1) cout << "-\n";
else cout << "+\n";
}
return 0;
}
game.hullqin.com