khanhdungtrinh's blog

By khanhdungtrinh, history, 14 months ago, In English

This code is from: https://codeforces.net/blog/entry/86731 ~~~~~ struct Line { data_t a, b;

Line() : a(0), b(-inf) {} Line(data_t a, data_t b) : a(a), b(b) {}

data_t get(data_t x) { return a * x + b; } }; ~~~~~

I have no idea what the colon marks in the code means?

Full text and comments »

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