Use const instead of constexpr

This commit is contained in:
Anthony Wang 2022-03-05 21:17:28 -06:00
parent e8300f4a27
commit b4feee9a2b
Signed by: a
GPG key ID: BC96B00AEC5F2D76
3 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
constexpr ll MOD = 1e9+7;
const ll MOD = 1e9+7;
inline ll pw(ll base, ll exp) {
ll res = 1;

View file

@ -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);
}
}

View file

@ -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);
}
}