inblog logo
|
moohyun
    알고리즘문제풀기

    두 수의 나눗셈

    화낼거양's avatar
    화낼거양
    Nov 19, 2024
    두 수의 나눗셈
    Contents
    문제정답
     
     
     
    https://school.programmers.co.kr/learn/courses/30/lessons/120806

    문제

     
    notion image
     
    기본적으로 주어진 코드 :
     
    class Solution { public int solution(int num1, int num2) { int answer = 0; return answer; } }
     

    정답

     
    class Solution { public int solution(int num1, int num2) { return (int) (1000.0*num1/num2); } }
     
    Share article
    Contents
    문제정답

    moohyun

    RSS·Powered by Inblog