Skip to content

Commit 84f2742

Browse files
committed
Add GCC optimization flags
1 parent f98f316 commit 84f2742

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎code/header.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#pragma GCC optimize("Ofast")
2+
#pragma GCC target("avx,avx2,fma")
3+
#pragma GCC optimization ("unroll-loops")
14
#include <bits/stdc++.h>
25
using namespace std;
36
#define rep(i,a,b) for (__typeof(a) i=(a); i<(b); ++i)

0 commit comments

Comments
 (0)