Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

Opportunity's blog

By Opportunity, history, 2 years ago, In English,

I'm learning binary lifting right now, already solved LCA and http://codeforces.com/problemset/problem/932/D.

Can you please suggest other problems that can be solved via binary lifting, I want to train this technique.

Thank you.

Read more »

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

By Opportunity, history, 2 years ago, In English,

I try to access https://cf-predictor-frontend.herokuapp.com/ and it seems like it's down.

I loved the app, hope the author will take a look at the logs if it's down.

Is there any alternative?

Read more »

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

By Opportunity, history, 3 years ago, In English,

http://olympiad.cs.uct.ac.za/old/saco2007/day1_2007_solutions.pdf Can someone please explain how the formula for the 4th problem (The Knights Who Say Ni) was derived.

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By Opportunity, history, 3 years ago, In English,

http://codeforces.com/contest/706/submission/21385544 on the test case 2 I get output "1" on my PC and 0 on the CF. I'm on linux gcc v 4.8.4 I compile with "g++ -std=c++11", I tryed all CF compilers. Can anyone help pls.

Read more »

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

By Opportunity, history, 4 years ago, In English,

You are given a set of rectangles and you are asked to determine the length of the perimeter of the complex polygon formed by the silhouette of the overlapping rectangles. Any ideas?

Read more »

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