![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
MaverickFW
It's Maverick
展开
-
【模拟】17.6.1 异或和 题解
#include <cstdio>#include <cstring>#include <algorithm>using namespace std;#define MOD 23333333333333333ll#define LL long long#ifdef win32#define AUTO "%64d"#else#define AUTO "%lld"#endifLL t,a原创 2017-06-02 19:11:18 · 451 阅读 · 0 评论 -
【模拟】hex 题解
顺着六边形模拟预处理,O(1)输出答案#include<cstdio>#include<cstring>#include<algorithm>using namespace std;const int N=20000;int num[N+5],ans[N+5]={0,1,2,3,4,5,2,3};int cnt[10]={0,1,2,2,1,1};int get_2(int x,int x1原创 2017-10-06 20:34:24 · 359 阅读 · 0 评论 -
【模拟】Codeforces Round #438 A. Bark to Unlock 题解
A. Bark to Unlock time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output As technologies develop, manufacturers are making the process of unlocki原创 2017-10-10 22:00:52 · 560 阅读 · 0 评论