We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reporter: TumoiYorozu (Japanese tweet: https://twitter.com/TumoiYorozu/status/1303198406513291264 )
It seems that some Visual Studio failed to compile internal_math. We need to take a look into.
As a temporary solution, replacing
for (long long a : {2, 7, 61}) {
into
int v[] = { 2, 7, 61 }; for (long long a : v) {
works, but we have to find the reason.
The text was updated successfully, but these errors were encountered:
I got the reason.
In default, the project of Visual Studio enables the SDL check (/sdl). However, we run MSVC from cmake & CLI, so don't enable this.
And somehow SDL check breaks above code (related?: https://stackoverflow.com/questions/42917099/constexpr-errors-vs2017-c-compiler-regression)
Sorry, something went wrong.
4a74cb6
Merge pull request #19 from atcoder/patch/issue3
364ea04
fix #3: fix internal_math for msvc
fix #3: fix document
7522f8c
No branches or pull requests
Reporter: TumoiYorozu (Japanese tweet: https://twitter.com/TumoiYorozu/status/1303198406513291264 )
It seems that some Visual Studio failed to compile internal_math. We need to take a look into.
As a temporary solution, replacing
into
works, but we have to find the reason.
The text was updated successfully, but these errors were encountered: