Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

Xylenox's blog

By Xylenox, history, 2 months ago, In English
auto res = *ranges::partition_point(views::iota(lo, hi), check);

this returns the first $$$x$$$ in the range $$$[lo, hi)$$$ such that check(x) is not true, or $$$hi$$$ if it doesn't exist. Be careful to make sure the $$$lo$$$ and $$$hi$$$ are both integers of the same type, otherwise there is weird behavior.

example usage: 284450329

Full text and comments »

  • Vote: I like it
  • +228
  • Vote: I do not like it

By Xylenox, history, 6 months ago, In English

I found this website codeforces.net, and I was about to sign in until I realized the url was different. Is this an official website, or a phishing scam?

Full text and comments »

  • Vote: I like it
  • +71
  • Vote: I do not like it

By Xylenox, history, 8 months ago, In English
  • Vote: I like it
  • +42
  • Vote: I do not like it

By Xylenox, history, 8 months ago, In English
  • Vote: I like it
  • +61
  • Vote: I do not like it