Use const instead of constexpr
This commit is contained in:
parent
e8300f4a27
commit
b4feee9a2b
|
@ -1,4 +1,4 @@
|
|||
constexpr ll MOD = 1e9+7;
|
||||
const ll MOD = 1e9+7;
|
||||
|
||||
inline ll pw(ll base, ll exp) {
|
||||
ll res = 1;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue