You’ve built pens for flying pigs. Being, well, flying pigs, they pick their own accommodation in full accordance to their preferences. Can you figure out what creature joined them?

enter image description here

  • Pigs only occupy designated pens (marked with gray squares).
  • There is a total of 7 pigs.
  • The first pig arrived early and occupied the leftmost stall (as shown on the picture).
  • Each fountain has exactly two pigs next to it: one in a pen that is separated from the fountain by a wall, and one that is not. Only vertically or horizontally adjacent pens are considered to be next to each other.
  • Exactly two pigs are in completely enclosed areas.
  • The pigs have a total of 18 walls adjacent to them. Walls shared by pigs are counted twice.
  • $\begingroup$ If a pig were in the pen to the left of the bottom fountain, would that count as completely enclosed and having 3 adjacent walls? $\endgroup$ – Dr Xorile Sep 17 '19 at 16:23
  • $\begingroup$ @DrXorile Yes, it would $\endgroup$ – Mariia Mykhailova Sep 17 '19 at 16:26

I think this is how to place the pigs

enter image description here

Deusovi mentioned correctly in the comments that determining the final answer has to do with

The Pigpen Cipher

Furthermore, as determined by Luke Bickell in the comments, applying the logic that

Pens with pigs should have dots and those which don't shouldn't.

The grid reads


  • $\begingroup$ I might be misunderstanding the problem, but doesn't the top fountain have 3 pigs in adjacent pens? $\endgroup$ – Dr Xorile Sep 17 '19 at 16:27
  • 1
    $\begingroup$ @DrXorile My interpretation is that we count the number of pigs adjacent to the fountain, not the number of pigs in pens adjacent. $\endgroup$ – hexomino Sep 17 '19 at 16:29
  • $\begingroup$ Pig allocation correct! $\endgroup$ – Mariia Mykhailova Sep 17 '19 at 16:30
  • 2
    $\begingroup$ The obvious way to get an answer out of this is rot13(gur cvtcra pvcure, ohg ab pubvpr bs qbgf frrzf gb cebivqr nalguvat hfrshy. Rira nantenzzvat, gur bayl HXNPQ jbeqf ner ovyyvba, oevpbyr, pbpxvre, pbeorvy, svpxyre, syvpxre, naq xrvyybe.) $\endgroup$ – Deusovi Sep 17 '19 at 16:35
  • 2
    $\begingroup$ rot13(ryqre xva orubyqre?) otherwise, I'm out of ideas $\endgroup$ – Luke Bickell Sep 17 '19 at 17:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.