Dev-C++。
使用了 -std=c++14 -Wl,-stack=1073741824 -Ofast -s 作为编译时加入的命令。
使用默认 g++.exe 文件 Dev-Cpp\MinGW64\bin\g++.exe 作为编译器。
多行 constexpr 如下:
constexpr int fact(int n, int mod) {
long long res = 1;
for(int i = 1; i <= n; i++)
res = res * i % mod;
return res;
}
constexpr int f1000m998 = fact(1000, 998244353);
int main() {
return 0;
}
求如何更新 Dev-C++ 的编译器,或者使其在不改变流程的情况通过编译。