上一页 1 2 3 4 5 6 7 8 9 ··· 56 下一页
摘要: 执行命令brew update-reset 阅读全文
posted @ 2020-11-25 14:19 WeiAR 阅读(4628) 评论(0) 推荐(0) 编辑
摘要: We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 阅读全文
posted @ 2020-11-24 11:45 WeiAR 阅读(1555) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/problemset/problem/792/E 最后肯定是全是x,x+1对于颜色i,如果它分成的set数>=sqrt(ai),是一定可行的,因为ai%sqrt(a[i])<sqrt(a[i])<=ai/sqrt(a[i])所以我们枚举最小的ai分成的s 阅读全文
posted @ 2020-11-20 21:14 WeiAR 阅读(109) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> #include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/video.hpp" #include "opencv2/objdetect.hpp" #inc 阅读全文
posted @ 2020-11-19 12:49 WeiAR 阅读(106) 评论(0) 推荐(0) 编辑
摘要: http://oj.saikr.com/problem/IPC3-J 染方块这个题还是蛮套路的。 之前遇到过一个题,题意大概是有云,小岛,水,用二维矩阵来表示。云下面可以是小岛也可以是水,不知道是啥,然后让干啥干啥,也是网络流做。 关于染方块的比赛历程为:倒着坐,先把绿色周围的空白方块染成红色,最后 阅读全文
posted @ 2020-11-17 14:03 WeiAR 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://oj.saikr.com/problem/IPC3-A #include <bits/stdc++.h> #define inf 2333333333333333 #define N 1000010 #define p(a) putchar(a) #define For(i,a,b) 阅读全文
posted @ 2020-11-17 10:59 WeiAR 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 关于欧拉函数经过log(n)次迭代下降到1的直观理解假设n为>2的质数,那么一次迭代之后为n-1,n-1为偶数假设n为非质数的奇数,根据欧拉函数公式 n*π(i->(1,k))(1-1/pi),pi为奇数,pi-1为偶数,那么一次迭代之后为偶数假设n为偶数,那么1~n-1的偶数一定与n不互质,迭代之 阅读全文
posted @ 2020-11-16 10:54 WeiAR 阅读(227) 评论(0) 推荐(0) 编辑
摘要: dp常识 增加状态可以消除后效性 举个例子 在有环图上跑dp,有后效性,但是多加1位,第i步在第j点便可以消除后效性 阅读全文
posted @ 2020-11-15 22:44 WeiAR 阅读(180) 评论(0) 推荐(0) 编辑
摘要: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include 阅读全文
posted @ 2020-11-13 21:08 WeiAR 阅读(354) 评论(0) 推荐(0) 编辑
摘要: https://github.com/bojone/ape210k_baseline py2.7+requirements.txt absl-py==0.11.0 astor==0.8.1 astroid==1.5.3 backports.functools-lru-cache==1.5 backp 阅读全文
posted @ 2020-11-12 09:53 WeiAR 阅读(1335) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 56 下一页