When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

Shameek's blog

By Shameek, 4 years ago, In English

https://cses.fi/problemset/task/1684 => GIANT PIZZA

I cannot understand how to proceed with this question. Any help will be appreciated.

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

| Write comment?
»
4 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Study about "2SAT" then try it again.

»
13 months ago, # |
  Vote: I like it 0 Vote: I do not like it

can you share your solution. and please share some resources as well if you have any to understand the 2 SAT.