Portpolio267 프로그래머스 문자 출력 풀이 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. Servlet과 jsp환경에서의 servlet jsp el jstl tomcat 호환성 2025. 2. 11. 이클립스 Syntax error on token "Invalid Character", delete this token 오류 발생 해결 보통 복붙을 많이 하다보면 이런 에러가 종종 많이 뜹니다. 이럴 때는 뒤로 가기로 빈 공간을 줄여보고 엔터를 하거나 붙여넣기 한 부분의 과한 공백을 줄이는 것도 해법이 됩니다. 2025. 2. 10. 프로그래머스 병과분류 풀이 https://school.programmers.co.kr/learn/courses/30/lessons/340204자바 풀이import java.util.Scanner;public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String code = sc.next(); String lastFourWords = code.substring(code.length()-4, code.length()); if(lastFourWords.equals("_eye")){ System.out.println("Ophthalmol.. 2025. 2. 10. 이전 1 2 3 4 5 ··· 27 다음