diff options
author | Anthony Wang | 2022-03-05 21:17:28 -0600 |
---|---|---|
committer | Anthony Wang | 2022-03-05 21:17:28 -0600 |
commit | b4feee9a2bebec9a5ced081f9b4dada8e34c218c (patch) | |
tree | 2630655f76b5ec6447fd3a3001fcb2d15019f620 | |
parent | e8300f4a2777424c0c0bb3c4fadb203e3700e4fc (diff) |
-rw-r--r-- | Math/numtheory.cpp | 2 | ||||
-rw-r--r-- | Template/basic.cpp | 4 | ||||
-rw-r--r-- | Template/template.cpp | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/Math/numtheory.cpp b/Math/numtheory.cpp index 282e39f..2472c47 100644 --- a/Math/numtheory.cpp +++ b/Math/numtheory.cpp @@ -1,4 +1,4 @@ -constexpr ll MOD = 1e9+7; +const ll MOD = 1e9+7; inline ll pw(ll base, ll exp) { ll res = 1; diff --git a/Template/basic.cpp b/Template/basic.cpp index 926f277..4ad84f2 100644 --- a/Template/basic.cpp +++ b/Template/basic.cpp @@ -4,10 +4,10 @@ using namespace std; using ll = long long; using ii = pair<int, int>; -constexpr int MX = 1e5+5; +const int MX = 1e5+5; int main() { cin.tie(0)->sync_with_stdio(0); -}
\ No newline at end of file +} diff --git a/Template/template.cpp b/Template/template.cpp index ca26ba5..23af3e0 100644 --- a/Template/template.cpp +++ b/Template/template.cpp @@ -24,12 +24,12 @@ using vi = vector<int>; using vl = vector<ll>; using vd = vector<ld>; using vii = vector<ii>; using vpl = vector<pl>; using vpd = vector<pd>; template<typename T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; template<typename T> using ordered_multiset = tree<T, null_type, less_equal<T>, rb_tree_tag, tree_order_statistics_node_update>; // Use with caution -constexpr ld PI = 4*atan((ld)1); -constexpr ll INF = 1e9, LINF = 1e18, MOD = 1e9+7; -constexpr int MX = 1e5+5; +const ld PI = 4*atan((ld)1); +const ll INF = 1e9, LINF = 1e18, MOD = 1e9+7; +const int MX = 1e5+5; int main() { cin.tie(0)->sync_with_stdio(0); -}
\ No newline at end of file +} |