728x90
반응형

전체 글 123

[해커랭크(HackerRank) JAVA 풀이] - Java Currency Formatter

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Currency Formatter HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 금액을 나타내는 배정밀도 숫자가 주어지면 NumberFormat 클래스의 getCurrencyInstance 메서드를 사용하여 미국, 인도, 중국 및 프랑스 통화 형식으로 변환합니다. 그런 다음 형식이 지정된 값을 ..

[해커랭크(HackerRank) JAVA 풀이] - Java Int to String

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Int to String HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 정수 n이 주어지면 이를 문자열로 변환해야 합니다. 코드가 n을 문자열 s로 성공적으로 변환하면 코드는 "Good job"을 인쇄합니다. 그렇지 않으면 "Wrong answer"이 인쇄됩니다. n은 -100에서 100(포함)..

[해커랭크(HackerRank) JAVA 풀이] - Java Static Initializer Block

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Static Initializer Block HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 정적 초기화 블록은 클래스가 로드될 때 실행되며 해당 블록에서 정적 변수를 초기화할 수 있습니다. 너비가 B이고 높이가 H인 평행사변형의 면적을 출력하도록 주어진 코드를 완성하십시오. 표준 입력에서 변수를..

[해커랭크(HackerRank) JAVA 풀이] - Java End-of-file

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java End-of-file HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com "컴퓨팅에서 파일 끝(일반적으로 EOF로 축약됨)은 데이터 소스에서 더 이상 데이터를 읽을 수 없는 컴퓨터 운영 체제의 조건입니다." — (Wikipedia: End-of-file) 이번 챌린지에서는 EOF에 도달할 때까지 n줄..

[해커랭크(HackerRank) JAVA 풀이] - Java Datatypes

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Datatypes HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com Java에는 8가지 기본 데이터 유형이 있습니다. boolean : true 또는 false char : 단일 16비트 유니코드 문자 byte : 8비트 부호 있는 정수 short : 16비트 부호 있는 정수 int : 32비트 부..

[해커랭크(HackerRank) JAVA 풀이] - Java Loops II

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Loops II HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 정수 a, b, n을 사용하여 다음 식을 만듭니다. (a + 2⁰ㆍb), (a + 2⁰ㆍb + 2¹ㆍb), ... , (a + 2⁰ㆍb + 2¹ㆍb + ... + 2ⁿ⁻¹ㆍb) q 쿼리는 a, b, n 형식으로 제공됩니다. 각 쿼리에..

[해커랭크(HackerRank) JAVA 풀이] - Java Loops I

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Loops I HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com Objective : 이 챌린지에서는 루프를 사용하여 간단한 수학을 수행할 것입니다. Task : 정수 N이 주어지면 처음 10개의 배수를 출력합니다. 각 N × i (여기서 i는 1 ≤ i ≤ 10)는 N × i = 결과 형식으로 새..

[해커랭크(HackerRank) JAVA 풀이] - Java Stdin and Stdout II

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Stdin and Stdout II HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 이 챌린지에서는 stdin에서 정수(int), 실수(double), 문자열(string)을 읽은 다음 아래 출력 형식 섹션의 지침에 따라 값을 출력해야 합니다. Note : 해당 챌린지 시도 전 Java Stdin..

[해커랭크(HackerRank) JAVA 풀이] - Java Output Formatting

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java Output Formatting HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 자바의 System.out.printf 함수를 사용하여 형식이 지정된 출력을 인쇄할 수 있습니다. printf를 사용한 출력 형식 지정에 대한 이해도를 테스트 할 수 있습니다. System.out.printf(form..

[해커랭크(HackerRank) JAVA 풀이] - Java If-Else

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Introduction > Java If-Else HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 이 챌린지에서는 if-else 조건문을 사용하여 의사 결정 프로세스를 자동화하는 방법에 대한 테스트를 합니다. if-else 문에는 다음과 같은 논리적 흐름이 있습니다. Task : 정수 n이 주어지면 다음 조건부 작업을 수행합니다. ..

728x90
반응형