오일러 프로젝트 haskell solutions

Problem 45Triangle, pentagonal, and hexagonal numbers are generated by the following formulae:Triangle Tn=n(n+1)/2 1, 3, 6, 10, 15, …Pentagonal Pn=n(3n−1)/2 1, 5, 12, 22, 35, …Hexagonal Hn=n(2n−1) 1, 6, 15, 28, 45, …It can be verified that T285 = P165 = H143 = 40755.Find the next triangle number ...

Read more ...

Sunday, 22 November 2015, 16:05

Every year several languages die out. Some people think that this is not important because life will be easier if there are fewer languages in the world. To what extent do you agree or disagree with this opinion?

Q. Every year several languages die out. Some people think that this is not important because life will be easier if there are fewer languages in the world. To what extent do you agree or disagree with this opinion?At these days, some people believe that the pace of the disappearance of languages...

Read more ...

Tuesday, 17 November 2015, 02:57

Some people say that the best way to improve public health is by increasing the number of sports facilities. Others, however, say that this would have little effect on public health and that other measures are required.

Q. Some people say that the best way to improve public health is by increasing the number of sports facilities. Others, however, say that this would have little effect on public health and that other measures are required.Discuss both these views and give your own opinion.Enhancing public health ...

Read more ...

Tuesday, 17 November 2015, 02:56

JPA에서 transaction 처리 방법

~~~~~java@ Transactional(rollbackFor = {RuntimeException.class})public SomeService {@ Autowired SomeRepository repository1;@ Autowired AnotherRepository repository2;@ Autowired ThirdRepository repository3;…@ Transactional(rollbackFor = {RuntimeException.class})public void SomeMethod(SomeEntity ob...

Read more ...

Friday, 13 November 2015, 03:54