๐ ์ฝํ
์ฐ์ต์ฅ
lv.1 2021 Dev-Matching: ์น ๋ฐฑ์๋ ๊ฐ๋ฐ์(์๋ฐ๊ธฐ) https://programmers.co.kr/learn/courses/30/lessons/77484 import java.util.*; class Solution { public int[] solution(int[] lottos, int[] win_nums) { int[] answer = {0, 0}; int win_cnt = 0, zero_cnt = 0; for (int lotto: lottos){ // ๋ชจ๋ฅด๋ ๋ฒํธ ์นด์ดํ
if(lotto == 0){ zero_cnt += 1; } // ๋น์ฒจ ๋ฒํธ ์นด์ดํ
else if(Arrays.stream(win_nums).anyMatch(x -> x == "lotto")){ win_cnt +=..
๐ ์ฝํ
์ฐ์ต์ฅ
lv.1 2022 KAKAO BLIND RECRUITMENT https://programmers.co.kr/learn/courses/30/lessons/92334 import java.util.*; class Solution { public int[] solution(String[] id_list, String[] report, int k) { // ๋ฐฐ์ด ์์ฑ (0์ผ๋ก ์๋ ์ด๊ธฐํ) int[] answer = new int[id_list.length]; // HashMap ์์ฑ (user: ์ ๊ณ ๋นํ ํ์) HashMap reports = new HashMap(id_list.length); for (int i = 0;i < id_list.length;i++){ reports.put(id_list[i],0)..
๐ ์ฝํ
์ฐ์ต์ฅ
https://codeup.kr/problemsetsol.php?psid=33 ๋ฌธ์ ์ง / Python ๊ธฐ์ด 100์ codeup.kr # 6027 [๊ธฐ์ด-์ถ๋ ฅ๋ณํ] 10์ง ์ ์ ์
๋ ฅ๋ฐ์ 16์ง์๋ก ์ถ๋ ฅํ๊ธฐ1 dec = int(input()) print("%x" %dec) # 6028 [๊ธฐ์ด-์ถ๋ ฅ๋ณํ] 10์ง ์ ์ ์
๋ ฅ๋ฐ์ 16์ง์๋ก ์ถ๋ ฅํ๊ธฐ2 dec = int(input()) print("%X" %dec) # 6029 [๊ธฐ์ด-๊ฐ๋ณํ] 16์ง ์ ์ ์
๋ ฅ๋ฐ์ 8์ง์๋ก ์ถ๋ ฅํ๊ธฐ n = input() hex = int(n, 16) print("%o" %hex) # 6030: [๊ธฐ์ด-๊ฐ๋ณํ] ์๋ฌธ์ 1๊ฐ ์
๋ ฅ๋ฐ์ 10์ง์๋ก ๋ณํํ๊ธฐ c = ord(input()) print(c) * ord(๋ฌธ์) : ๋ฌธ์์ ์์คํค..
๐ ์ฝํ
์ฐ์ต์ฅ
https://codeup.kr/problemsetsol.php?psid=33 ๋ฌธ์ ์ง / Python ๊ธฐ์ด 100์ codeup.kr [๊ธฐ์ด-์ถ๋ ฅ] / [๊ธฐ์ด-์
์ถ๋ ฅ] / [๊ธฐ์ด-๊ฐ๋ณํ] # 6001 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ01 print("Hello") # 6002 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ02 print("Hello World") # 6003 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ03 print("Hello\nWorld") # 6004 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ04 print("'Hello'") # 6005 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ05 print('"Hello World"') # 6006 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ06 print("\"!@#$%^&*()'") # 6007 [๊ธฐ์ด-์ถ๋ ฅ] ์ถ๋ ฅํ๊ธฐ07 print("\"C:\\Downl..
'๐ ์ฝํ
์ฐ์ต์ฅ' ์นดํ
๊ณ ๋ฆฌ์ ๊ธ ๋ชฉ๋ก (2 Page)
๋จ์ถํค
๋ด ๋ธ๋ก๊ทธ
๋ด ๋ธ๋ก๊ทธ - ๊ด๋ฆฌ์ ํ ์ ํ |
Q
Q
|
์ ๊ธ ์ฐ๊ธฐ |
W
W
|
๋ธ๋ก๊ทธ ๊ฒ์๊ธ
๊ธ ์์ (๊ถํ ์๋ ๊ฒฝ์ฐ) |
E
E
|
๋๊ธ ์์ญ์ผ๋ก ์ด๋ |
C
C
|
๋ชจ๋ ์์ญ
์ด ํ์ด์ง์ URL ๋ณต์ฌ |
S
S
|
๋งจ ์๋ก ์ด๋ |
T
T
|
ํฐ์คํ ๋ฆฌ ํ ์ด๋ |
H
H
|
๋จ์ถํค ์๋ด |
Shift + /
โง + /
|
* ๋จ์ถํค๋ ํ๊ธ/์๋ฌธ ๋์๋ฌธ์๋ก ์ด์ฉ ๊ฐ๋ฅํ๋ฉฐ, ํฐ์คํ ๋ฆฌ ๊ธฐ๋ณธ ๋๋ฉ์ธ์์๋ง ๋์ํฉ๋๋ค.