약간의 고민이 필요한 문제입니다. 해당 문제에서 고려해야할 점은
- 10일 마다 증가하는 시급의 값을 어떻게 계산할 것인가
- 충분한 돈을 벌 때 까지의 날 수를 어떻게 추적할 것인가
이렇게 두가지로 볼 수 있습니다. 이 점을 유의하면서 다음 코드를 보시기 바랍니다.
...약간의 고민이 필요한 문제입니다. 해당 문제에서 고려해야할 점은
이렇게 두가지로 볼 수 있습니다. 이 점을 유의하면서 다음 코드를 보시기 바랍니다.
...소수의 정의와 for 반복문을 이용하여, 주어진 수가 소수인지 아닌지 판별하는 문제입니다.
...해당 문제는 while 반복문을 적절히 사용할 수 있는지 묻는 문제입니다.
...You’ll find this post in your _posts
directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve
, which launches a web server and auto-regenerates your site when a file is updated.
To add new posts, simply add a file in the _posts
directory that follows the convention YYYY-MM-DD-name-of-post.ext
and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.