We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9edf69 commit 301f9dbCopy full SHA for 301f9db
2 files changed
프로그래머스/0/120806. 두 수의 나눗셈/README.md
@@ -1,10 +1,10 @@
1
# [level 0] 두 수의 나눗셈 - 120806
2
3
-[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/120806?language=java)
+[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/120806)
4
5
### 성능 요약
6
7
-메모리: 74.4 MB, 시간: 0.27 ms
+메모리: 75.8 MB, 시간: 0.02 ms
8
9
### 구분
10
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2026년 06월 18일 16:14:30
+2026년 06월 21일 13:30:56
20
21
### 문제 설명
22
프로그래머스/0/120806. 두 수의 나눗셈/두 수의 나눗셈.java
@@ -1,7 +1,5 @@
class Solution {
public int solution(int num1, int num2) {
- double res = (double) num1 / (double) num2 * 1000;
- System.out.println(res);
- return (int) res;
+ return (int) ((double) num1 * 1000 / num2);
}
0 commit comments