XmtosX's blog

By XmtosX, history, 6 years ago, In English

Can someone explain the solution to this problem? I've been trying so hard to solve it since yesterday but I couldn't find a solution for it.

https://szkopul.edu.pl/problemset/problem/TE77UNYEUxsFcrRxYRPc99na/site/?key=statement

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

»
6 years ago, # |
  Vote: I like it -8 Vote: I do not like it

if count(P) is not equal to (count(L) — 4) so should output NIE (for checking that write sum of degrees of maze once with p*270 + L*90 and another time with 180 * (N — 2)) otherwise solution exists