프로그래머스 181865 자바
[프로그래머스, 181865] 간단한 식 계산하기 (java)
https://school.programmers.co.kr/learn/courses/30/lessons/181865 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr메모리: 77.9 MB, 시간: 0.14 ms사용 알고리즘: 구현class Solution { public int solution(String binomial) { String[] bino = binomial.split(" "); int answer = Integer.parseInt(bino[0]); if(bino[1].equals("+")) answer += Integer..