Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

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

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

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

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

»
6 лет назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

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