728x90
반응형
- [프로그래머스 코딩테스트] java Lv.0 가채점 (PCCE 기출문제 6번)chantlemanclass Solution { public String[] solution(int[] numbers, int[] our_score, int[] score_list) { int num_student = numbers.length; String[] answer = new String[num_student]; for (int i = 0; i
- 2024-06-26 14:44:15
- [프로그래머스 코딩테스트] java Lv.0 가습기(PCCE 기출문제 7번)chantleman#include #include using namespace std;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) return 3; else if (humidity >= 10) return 4; else return 5;}int func3(int humidity, int val_set){ if(humidity
- 2024-06-26 14:41:40
- [프로그래머스 코딩테스트] java Lv.0 문자열 출력하기chantlemanimport java.util.Scanner;public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); System.out.println(a); }}
- 2024-06-26 14:37:25
- [프로그래머스 코딩테스트] java Lv.0 a와 b 출력하기chantlemanimport java.util.Scanner;public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println("a = "+a); System.out.println("b = "+b); }} scanner system.in을 통해서 입력을 받고 nextInt로 정수 타입 변환 후 system.out으로 출력
- 2024-06-26 14:36:06
- [프로그래머스 코딩테스트] java Lv.0 문자열 반복해서 출력하chantlemanimport java.util.Scanner;public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str = sc.next(); int n = sc.nextInt(); for(int i=0;i
- 2024-06-26 14:33:58
728x90
반응형
스킨 업데이트 안내
현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)