Portpolio260 프로그래머스 커피 심부름 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/181837 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 자바class Solution { public int solution(String[] order) { int answer = 0; for (int i=0; i { if(order[i].contains("americano")) { answer += 4500; } els.. 2025. 2. 26. 프로그래머스 수 나누기 풀이 코딩테스트 연습 - [PCCE 기출문제] 3번 / 수 나누기 | 프로그래머스 스쿨 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.krC++#include using namespace std; int main(void) { int number; cin >> number; int answer = 0; for(int i=0; i answer += number % 100; number /= 100; } cout return 0; } 자바import java.util.Scanner; public class Solution.. 2025. 2. 26. 프로그래머스 각도 합치기 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/340206 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.krC++#include using namespace std; int main(void) { int angle1; int angle2; cin >> angle1 >> angle2; int sum_angle = angle1 + angle2; cout return 0; } 자바import java.util.Scanner; public class Solution { public static v.. 2025. 2. 26. 프로그래머스 문자 출력 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/340207 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.krC++ 자바 파이썬 2025. 2. 26. 프로그래머스 문자열을 정수로 변환하기 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/181848 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 자바======================class Solution { public int solution(String n_str) { int result = Integer.parseInt(n_str); return result; }}====================== 자바스크립트======================function solution(n_str){ var answer = .. 2025. 2. 23. python 내장 함수 https://docs.python.org/ko/3.8/library/functions.html 내장 함수 — Python 3.8.20 문서내장 함수 파이썬 인터프리터에는 항상 사용할 수 있는 많은 함수와 형이 내장되어 있습니다. 여기에서 알파벳 순으로 나열합니다. abs(x) 숫자의 절댓값을 돌려줍니다. 인자는 정수 또는 실수입docs.python.org 내장 함수 abs()delattr()hash()memoryview()set()all()dict()help()min()setattr()any()dir()hex()next()slice()ascii()divmod()id()object()sorted()bin()enumerate()input()oct()staticmethod()bool()ev.. 2025. 2. 23. 프로그래머스 가습기 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/250127 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 자바class Solution { public int func1(int humidity, int val_set){ if(humidity = 50) return 0; else if (humidity >= 40) return 1; else if (humidity >= 30) return 2; else if (humidity >= 20.. 2025. 2. 19. 프로그래머스 문자열안에 문자열 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/120908 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 자바class Solution { public int solution(String str1, String str2) { if(str1.contains(str2)) return 1; else return 2; } } 자바스크립트function solution(str1, str2) { if (str1.includes(str2)) r.. 2025. 2. 16. 프로그래머스 피자 나눠 먹기 (3) 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/120816 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 자바class Solution { public int solution(int slice, int n) { int answer = 0; if (n%slice==0) answer = n/slice; else answer = n / slice + 1; return answer; } } 자바스크립트function solution(slic.. 2025. 2. 16. bootstrap modal이 계속 안 나왔던 이유 script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js">script> 안넣었던 것이 그 이유 modal-header, modal-body, modal-footer 등이 아무리 정상적으로 코드가 있어도 저 script 태그를 안넣으면 모달이 안뜬느데 문제의 원인을 계속 다른 곳에 두다보니 당연히 넣었겠지라고 빠진 부분을 생각하지 못함 2025. 2. 11. 이전 1 2 3 4 ··· 26 다음