[์ž๋ฐ” ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œ]


์ด ๋ฌธ์ œ๋Š” ์ผ์ข…์˜ online judge ์‚ฌ์ดํŠธ์ธ ์ฝ”๋”ฉ๋ฑƒ(์ฝ”๋”ฉ๋ฐ•์ฅ) ๋‹ท์ปด์— ๋‚˜์™€์žˆ๋Š” ๋ฌธ์ œ์ž…๋‹ˆ๋‹ค.

๋ฌธ์ œ๋Š” ์ด๊ณณ์—์„œ ํ™•์ธ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.


์•„๋ž˜ ํ•ด๋‹ต์€ ์ œ๊ฐ€ ์ง์ ‘ ์ฝ”๋”ฉํ•œ ๋‚ด์šฉ์ž…๋‹ˆ๋‹ค.


public boolean makeBricks(int small, int big, int goal) {
  if ( (goal - small <= big*5) && ( goal%5 <= small ) ){
      return true;
  }
  return false;
}