Please subscribe to the official Codeforces channel in Telegram via the link ×

std::inclusive_scan doesn't compile on CF

Revision en1, by Savior-of-Cross, 2021-09-01 11:37:50

Not sure if this has been mentioned before, but the following code involving std::inclusive_scan doesn't compile on CF on both "GNU G++17 7.3.0" and "GNU G++17 9.2.0 (64bit, msys 2)". This function is part of the C++17 standard, according to the reference, so it should compile on both versions (and it does compile locally).


std::exclusive_scan doesn't compile on CF as well.



  Rev. Lang. By When Δ Comment
en1 English Savior-of-Cross 2021-09-01 11:37:50 1112 Initial revision (published)