프로그래머스 - 음양 더하기 (상준)
package test; /* */ public class 음양_더하기 { public static void main(String[] args) { int[] absolutes = {4, 7, 12}; boolean[] signs = {true, false, true}; Solution6 Solution6 = new Solution6(); Solution6.solution(absolutes, signs); } } class Solution6 { public int solution(int[] absolutes, boolean[] signs) { int answer = 0; for (int i = 0; i < signs.length; i++) { if (signs[i]) { answer += absolute..
코딩테스트/프로그래머스
2022. 1. 4. 17:07
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 자료구조
- 킹
- 구현
- solved.ac
- 알고리즘
- K번째수
- stack
- 코딩테스트
- java
- 프로그래머스 # 음양더하기
- 카카오 코딩테스트
- 크레인 인형뽑기 게임
- 10진수
- 자료표현
- 2019 카카오 개발자 겨울 인턴십
- 1063
- 프로그래머스
- 2진수
- Git
- 브루트포스
- ASCII코드
- 백준
- 오
- 인형뽑기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함