Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

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).

inclusive_scan

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

exclusive_scan

History

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