Блог пользователя EasyCoding

Автор EasyCoding, 8 лет назад, По-русски

Hi cf community!

I was solving problem SKAKAVAC from COCI 2008 #1, and I tried everything that came into my mind, I also asked from my yellow-colored friend, but he haven't found mistake.

Could you please explain, why this code gets RE (signal 6: SIGABRT) on last test?

Thanks.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

Автор EasyCoding, история, 8 лет назад, По-английски

You're given N (N ≤ 2000) and N points, then you are given Q (Q ≤ 106), the number of queries, and next Q lines consist Ai, Bi, Ci. For each query you should find how many points are on this line, i.e. how many j that Ai * Xj + Bi * Yj + Ci = 0.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

Автор EasyCoding, 9 лет назад, По-английски

Hello everyone!

Can someone tell me how to make update on segment (from l to r)?

If you can write a code, please send me.

Thanks for attention!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +6
  • Проголосовать: не нравится

Автор EasyCoding, 9 лет назад, По-английски

Hello everyone!!!

Can someone give me problems for this topics :

  1. Sqrt-decomposition.
  2. Games (on graph).
  3. DSU.
  4. Segment tree.
  5. Fenwick tree.

Thanks for help and attention!!!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится