
模拟
ZHXU1998
这个作者很懒,什么都没留下…
展开
-
2019牛客多校 H Stammering Chemists (模拟)
这题找到他们的不同特征判断就好了题意还说 不是下面的 随便输出 就可以少盘一种了 虽然也没有少写啥第一个 连边 只有2个是出现1次的4 和 5 用 2个 3边 和 一个4边 判断2 和 3 我dfs2边 3 的话 4深度出现2次 剩下的直接出 2图就好#include <bits/stdc++.h>#define int long longusing namespac...原创 2019-08-19 13:53:20 · 284 阅读 · 0 评论 -
HihoCoder 1632 Secret Poems 北京2017 ICPC
北京这题真的是 模拟到爆炸#include<bits/stdc++.h>#define ll long longusing namespace std;const int maxn = 1e3 + 5;char mp[maxn][maxn];char id[maxn * maxn];char ans[maxn][maxn];int n, m;bool vis[ma...原创 2019-10-04 18:57:11 · 166 阅读 · 0 评论 -
B - Heshen's Account Book HihoCoder - 1871 北京ICPC 字符串模拟
北京有毒 字符串年年是毒瘤。。。。。。#include <bits/stdc++.h>typedef unsigned long long ull;using namespace std;const int maxn = 1005;long long n, m, p;string str;vector<ull> G[maxn];vector<stri...原创 2019-10-06 13:42:39 · 288 阅读 · 0 评论