edsa's blog

By edsa, history, 16 months ago, In English

There is a current proposal to add a graph library to the C++ standard library. Targetted at C++26 or later. Since this community is very accostumed to working with graphs, I thought that it would be interesting to share this here.

Their code is in the repos source library and stdlib. IMHO, the interface could be improved a lot. At least it does not match what I tend to use for competitive programming and it seems quite far from the std::algorithm interface. I hope to hear your thoughts.

Full text and comments »

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

By edsa, history, 4 years ago, In English

Hello,

If you check this submission, you can see that according to codeforces, the input contains one testcase, but my program just reads the number of testcases and prints it and we can see a different result.

Full text and comments »

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