wa

leenancy Reply 4 years 28 weeks ago
계속 Wrong Answer이 나옵니다. 어디가 틀린건가요????
withcs2 Reply 4 years 28 weeks ago
버림할 때 Math.floor를 쓰는 분들이 간혹 계신데.. Math.floor는 버림이 아니라 내림입니다. Math.floor(0.5) Math.floor(-0.5) (int)(0.5) (int)(-0.5) 이 네 개의 결과를 한 번 비교해보시길 바랍니다.