![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
YU_XIAO_YU1995
不敢出门说自己是Acmer,在做CV相关方面工作,了解一些模型压缩、低精度推理的知识
展开
-
poj 3087 Shuffle'm Up
简单的模拟题, 据说可以用map水过, 不过想学一下字符串hash,写了一发hash, 其丑无比。。。 #include #include #include #include using namespace std; typedef unsigned long long ll; const int HASH = 10007; const int MAXN = 1010; co原创 2015-10-29 16:42:09 · 244 阅读 · 0 评论 -
hdu 4452 Running Rabbits
一道简单的模拟题,代码写得太水,卡了很长时间,碰上我这样的坑爹队友也是不幸啊 #include using namespace std; int mov[4][2] = {-1, 0, 0, -1, 1, 0, 0, 1}; map dir; int n; int check(int x, int y) { return x >= 1 && x = 1 && y <= n; } i原创 2015-10-28 23:21:16 · 291 阅读 · 0 评论