Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 947 Bytes

180217.md

File metadata and controls

60 lines (42 loc) · 947 Bytes

ACM Club Meeting - Feb 17, 2018

Lectures

Mahou DB (Lok Huang)

Eight Queens (Laurence Liu)

Weekly Challenge LIVE - Eight Dairy Queens

Dairy Queen, an ice-cream chain, is starting 8 stores in a small town with 8x8 streets. They require:

  • Every store is at the intersection of two streets
  • Every two stores are not on the same street
  • Walking distance (along the streets) between every two stores should be at least 4 blocks

How many possible ways do they have to place the 8 stores?

Play!

Weekly Challenge - Can U Escape

Given a maze, determine if there is a path from the letter U to the outside.

Sample input:

......
..**..
.*U.*.
..**..
......

Sample output:

no

Sample input:

********
*...*..*
*.*....*
*.***.**
*.U.*...
********

Sample output:

yes