E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
oFAST
Fraction Construction Problem
article/details/107451028https://blog.csdn.net/qq_43054573/article/details/107443839#pragmaGCCoptimize(3,"
Ofast
不哭的超人
·
2020-08-01 05:53
牛客
扩展欧几里得
基数排序
众所周知我是一个卡常狂魔其实是因为算法太差干不过机房其他大佬所以才卡常的所以平时也有了解一些比较玄学的算法这其中就包括基数排序和手动
Ofast
,指针,循环展开,寄存器,快速IO,fread,fwrite
MZW_BG
·
2020-07-31 22:19
模板
hdu多校6
1001积分题,不要四舍五入//#pragmacomment(linker,"/stack:200000000")//#pragmaGCCoptimize("
Ofast
,no-stack-protector
afd5154
·
2020-07-31 15:59
Craters
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include//#defineintlonglon
青烟绕指柔!
·
2020-07-30 10:28
计算几何
凸包问题
HDU - 6409
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include#defineintlonglongusingnamespacestd;constintN
青烟绕指柔!
·
2020-07-30 04:00
HDU
贪心
HDU - 6583
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")
青烟绕指柔!
·
2020-07-30 04:00
HDU
SAM
动态规划
HDU - 6606
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include#defineintlonglongus
青烟绕指柔!
·
2020-07-30 04:00
HDU
动态规划
线段树
HDU - 6635
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#includ
青烟绕指柔!
·
2020-07-30 04:00
HDU
随机化算法
LIS
Codeforces - F. Up and Down the Tree
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include//#defineintlonglongusingnamespacestd;constintN
青烟绕指柔!
·
2020-07-30 04:00
Codeforces
树形dp
【C++】C++高精度加减乘除模板
#pragmaGCCoptimize(3,"
Ofast
","inline")#pragmaG++optimize(3,"
Ofast
","inline")#include#include#include#
Ljnoit
·
2020-07-29 13:19
#
C++
Code
#
C
小H和游戏
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loop
青烟绕指柔!
·
2020-07-29 12:58
计数问题
2020牛客多校第四场补题
B.BasicGcdProblem解析:分解出n的质因数个数为cnt答案:ccnt%MOD#pragmaGCCoptimize(3,"
Ofast
","inline")#includeusingnamespacestd
AKone123456
·
2020-07-28 09:19
2020牛客多校
word2vec编译步骤
一、编译源码1.直接在word2vec下运行make,报错误信息:显示编译参数-
Ofast
有问题将-
Ofast
更改为-O2.在上一步的基础上继续编译,报错误信息:识别不了选项参数-Wno-unused-result
huanruiqi
·
2020-07-27 23:09
编程学习
Codeforces Round #650 (Div. 3)(A-F1)题解
A.ShortSubstrings题解:按题意模拟即可/*KeepongoingNevergiveup*/#pragmaGCCoptimize(3,"
Ofast
","inline")#includeconstintmaxn
昵称很长很长真是太好了
·
2020-07-15 10:51
codeforces
题解
Educational Codeforces Round 80 (Rated for Div. 2)
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include#defineint
青烟绕指柔!
·
2020-07-15 08:42
Codeforces
[USACO15JAN]Grass Cownoisseur G
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include//#defineintlonglongusingnamespacestd;constintN
青烟绕指柔!
·
2020-07-15 08:42
图论
最短路
强连通分量
2020牛客寒假算法基础集训营2
用判断角度的方法,会超时acos这玩意会超时也挺蛋疼的#pragmacomment(linker,"/STACK:102400000,102400000")#pragmaGCCoptimize(3,"
Ofast
UnKfrozen
·
2020-07-13 01:42
QLU_ACM比赛
高精度--模板
加法#pragmaGCCoptimize(1)#pragmaGCCoptimize(2)#pragmaGCCoptimize(3,"
Ofast
","inline")#include#include#includeusingnamespacestd
QXK_Jack
·
2020-07-10 23:30
小专题
卡常火车头
pragmaGCCdiagnosticerror"-std=c++11"#pragmaGCCtarget("avx")#pragmaGCCoptimize(2)#pragmaGCCoptimize(3)#pragmaGCCoptimize("
Ofast
KajKeusaka
·
2020-07-10 22:09
杂项
[NOI Online #2 提高组]子序列问题
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include#defineintlonglong#definemid(l
青烟绕指柔!
·
2020-07-08 21:42
线段树
C++敲代码前的准备工作
#pragmaGCCtarget("avx,sse2,sse3,sse4,popcnt")#pragmaGCCoptimize("O2,
Ofast
,inline,unroll-all-loops,-ffast-math
HDAWN
·
2020-07-08 17:00
gcc 中-O -O1 -O2 -O3 -Os -
Ofast
-Og优化的原理
一般来说,如果不指定优化标识的话,gcc就会产生可调试代码,每条指令之间将是独立的:可以在指令之间设置断点,使用gdb中的p命令查看变量的值,改变变量的值等。并且把获取最快的编译速度作为它的目标。当优化标识被启用之后,gcc编译器将会试图改变程序的结构(当然会在保证变换之后的程序与源程序语义等价的前提之下),以满足某些目标,如:代码大小最小或运行速度更快(只不过通常来说,这两个目标是矛盾的,二者不
隨意的風
·
2020-07-07 01:36
C++基础
平衡二叉树-AVL c/c++代码实现
t=703大佬视频一份代码,代码中有注释,对应着洛谷的**P3369【模板】普通平衡树**/*KeepongoingNevergiveup*/#pragmaGCCoptimize(3,"
Ofast
","
昵称很长很长真是太好了
·
2020-07-06 09:50
数据结构
Codeforces Round #648 (Div. 2)题解 A-D
/*KeepongoingNevergiveup*/#pragmaGCCoptimize(3,"
Ofast
","inline
昵称很长很长真是太好了
·
2020-07-06 09:19
codeforces
题解
二叉搜索树c/c++代码实现
/*KeepongoingNevergiveup*///#pragmaGCCoptimize(3,"
Ofast
","inline")#includeusingnamespacestd;structNode
昵称很长很长真是太好了
·
2020-07-06 09:19
数据结构
安装anaconda 后编译darknet opencv3.4.1 报错error: unknown type name ‘namespace’ namespace cv
gcc-Iinclude/-Isrc/-DOPENCV`pkg-config--cflagsopencv`-Wall-Wno-unknown-pragmas-Wfatal-```errors-fPIC-
Ofast
-DOPENCV-c
xiaolifeidaoer
·
2020-07-06 08:25
[APIO2008]免费道路
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include//#defi
青烟绕指柔!
·
2020-07-06 05:56
图论
最小生成树
Educational Codeforces Round 52 (Rated for Div. 2)
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include#defineintlonglongusingnamespacestd;intT
青烟绕指柔!
·
2020-07-06 05:56
Codeforces
[十二省联考2019]骗分过样例
Miller_rabin就不用打几十k的表了筛mu哪里可能跑的比较慢,只能用一遍Miller_rabin会有一些数会错需要修正Code#pragmaGCCoptimize(2)#pragmaGCCoptimize("
Ofast
alan_cty
·
2020-07-04 10:51
[UOJ274][BZOJ4736][清华集训2016]温暖会指引我们前行(边权LCT)
至于边权LCT是什么,可以自行百度学习学习啦(光速逃)..Code#pragmaGCCoptimize(3,"
Ofast
","inline")#includeusingnamespacestd;typedeflonglongll
Effervescence
·
2020-07-04 05:22
LCT
Codeforces Round #651 (Div. 2) 部分题解
A-MaximumGCD/*KeepongoingNevergiveup*/#pragmaGCCoptimize(3,"
Ofast
","inline")#includeconstintmaxn=1e6+
昵称很长很长真是太好了
·
2020-07-04 03:40
codeforces
题解
YOLOv3在Darknet框架下编译出错
gcc-Iinclude/-Isrc/-DOPENCV`pkg-config--cflagsopencv`-Wall-Wno-unknown-pragmas-Wfatal-```errors-fPIC-
Ofast
-DOPENCV-c
z649431508
·
2020-06-30 11:14
目标检测
HDU - 4358
AC代码:#pragmaGCCoptimize("-
Ofast
","-funroll-all-loops")#include//#defineintlonglongusingnamespacestd;constintN
青烟绕指柔!
·
2020-06-29 10:17
树上启发式合并
图论
C++ 40行超级加速命令
www.cnblogs.com/Yuhuger/p/9280598.html40行Code#pragmaGCCoptimize(3)#pragmaGCCtarget("avx")#pragmaGCCoptimize("
Ofast
Felix-Lee
·
2020-06-24 07:45
C++
模板算法
模板与算法
C++
模板算法
ORB算法分析(草稿)
论文第3节:先用
oFAST
算法
DVStream
·
2020-06-23 18:40
Computer
Vision
洛谷P1323 删数问题
#include/*#include#include#include#include*///#pragmaGCCoptimize(3,"
Ofast
","inline")usingnamespacestd
路不明非
·
2020-06-23 02:18
贪心
模拟
安装darknet时遇到的报错
darknet-master$make-j16gcc-Iinclude/-Isrc/-Wall-Wno-unused-result-Wno-unknown-pragmas-Wfatal-errors-fPIC-
Ofast
-c
>LWL<
·
2020-06-22 16:22
darknet
Yolo 使用Webcam,修改Makefile文件 opencv=1 再次make的时候出错
gcc-Iinclude/-Isrc/-DOPENCV`pkg-config--cflagsopencv`-Wall-Wno-unknown-pragmas-Wfatal-```errors-fPIC-
Ofast
-DOPENCV-c
Li_haiyu
·
2020-06-22 00:02
pythonCV
[HNOI2016]网络 [树链剖分,可删除堆]
//poweredbyc++11//byIsaunoya#pragmaGCCoptimize("
Ofast
")#pragmaGCCoptimize("unroll-loops")#pragmaGCCtarget
_Isaunoya
·
2020-02-12 18:00
P3759 [TJOI2017]不勤劳的图书管理员 [树套树]
树套树是什么啊我不知道/dk我只知道卡常数w//byIsaunoya#pragmaGCCoptimize(2)#pragmaGCCoptimize(3)#pragmaGCCoptimize("
Ofast
_Isaunoya
·
2020-01-25 13:00
CF1093E Intersection of Permutations [分块 +bitset]
然后考虑直接暴力复制块然后前缀和,修改也很简单,直接删除完了swap一下,再弄回去时间复杂度\(O(q\sqrtn+q\frac{n}{w})\)//byIsaunoya#pragmaGCCoptimize("
Ofast
_Isaunoya
·
2020-01-13 13:00
01/05/2020 我注册了博客园 I enrolled in Cnblogs.
#pragmaGCCoptimize("
Ofast
","inline","-ffast-math")#pragmaGCCtarget("avx,sse2,sse3,sse4,mmx")#includeusingnamespacestd
BrianPeng
·
2020-01-05 13:00
头文件
#pragmaGCCoptimize(2)#pragmaGCCoptimize(3)#pragmaGCCoptimize("
Ofast
")#pragmaGCCoptimize("inline")#pragmaGCCoptimize
谁是鸽王
·
2019-12-31 09:00
GSS 系列题解
//Isaunoya#pragmaGCCoptimize(2)#pragmaGCCoptimize(3)#pragmaGCCoptimize("
Ofast
")#includeusingnamespacestd
_Isaunoya
·
2019-12-19 22:00
C++常数优化
1#pragmaGCCoptimize(2)2#pragmaGCCoptimize(3)3#pragmaGCCtarget("avx")4#pragmaGCCoptimize("
Ofast
")5#pragmaGCCoptimize
Xiangzc
·
2019-12-07 20:00
卡常的编译命令(含O2优化)
不解释,直接来//包括O2,O3之类的编译命令//直接copyandpaste#pragmaGCCoptimize(2)#pragmaGCCoptimize(3)#pragmaGCCoptimize("
Ofast
battlin
·
2019-11-11 16:00
2017ICPC南宁M The Maximum Unreachable Node Set (偏序集最长反链)
然后把每个点拆成两个点i,i+n,原图中的边(a,b)变成(a,b+n),跑一变网络流,答案就是n-maxflow;代码:#pragmaGCCoptimize(3)#pragmaGCCoptimize("
Ofast
维和战艇机
·
2019-10-17 19:00
Day2T2 分配笔名//CF566A
>a,insert(a,0);fr(i,1,n)cin>>a,insert(a,1);dfs(1,0);cout#pragmaGCCoptimize("O2")#pragmaGCCoptimize("
Ofast
蒟蒻CoderCJH
·
2019-10-06 21:00
【CF321E】+【bzoj5311】
//byJudge#pragmaGCCoptimize("
Ofast
")#include#defineRgregister#definefp(i,a,b)for(Rginti=(a),I=(b)+1;iI
Judge_Cheung
·
2019-08-06 20:00
「2019纪中集训Day5」解题报告
代码如下://#pragmaGCCoptimize(2)//#pragmaGCCoptimize(3,"
Ofast
","inl
15owzLy1
·
2019-08-05 22:00
上一页
1
2
3
4
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他