블로그
-
날짜 로컬 포맷 자동적용을 위한 앱인벤터용 자바 스크립트
raw) return null; const [monthMMM, dayEEE] = raw.split("|"); return { monthMMM, dayEEE }; }; // 공통 필수 [0] || navigator.language; const safe = v => (v === undefined || v === null) ?
blog.naver.com · 2026.01.28
-
ㅘㅣㅗㅓㅣㅓㅣ
. # 간단한 합계 함수 def total(nums): s = 0 for n in nums: s += n return s print(total([1, 2, 3, 4])) # 10 ③
blog.naver.com · 2025.10.22
-
순위
.*; class Solution { class Node { int node; int win_cnt = 0; int lose_cnt = 0; boolean visited = false ; List link = new LinkedList<>(); public Node(int n){ node = n; } public String toString(){ return
blog.naver.com · 2025.08.05
-
단어변환
begin, String target, String[] words) { Queue q = new LinkedList<>(); q.add(new MyData(begin,0) cnt; } // System.out.println(" txt == " + txt + " // step == " + cnt); for(int i = 0;i
blog.naver.com · 2025.08.04
-
(수정 중)PCCP모의고사2회 보물지도
int x, int y, int l, boolean u){ posX = x; posY = y; len = l; used = u; } public String toString(){ return int answer = Integer.MAX_VALUE; int[][] maps = new int[m][n]; for(int[] h : hole){ maps[h[1] - 1][h[0]
blog.naver.com · 2025.08.20
-
[PCCP 기출문제] 2번 / 퍼즐 게임 챌린지
def solution(diffs, times, limit): minValue = diffs[0] maxValue = max(diffs) return getSolution(diffs minValue else: return maxValue else: if(calculation(diffs, times, limit, level)): return getSolution
blog.naver.com · 2025.04.23
-
프로그래머스 개인정보 수집 유효기간 파이썬
today, terms, privacies): def to_date(date_str): year, month, day = map(int, date_str.split('.')) return day > 28: day = 28 return [year, month, day] def is_expired(expire.......
blog.naver.com · 2025.04.17
-
간단한 c# 개발
= 1) { Console.WriteLine("Usage: parse_car_number.exe "); return; } string imagePath = args[0]; if (! System.IO.File.Exists(imagePath)) { Console.WriteLine($"Error: File not found - {imagePath}"); return
blog.naver.com · 2025.03.26
-
[PCCP 기출문제] 2번 / 퍼즐 게임 챌린지
.*; class Solution { public int solution(int[] diffs, int[] times, long limit) { int min = diffs[0]; int max = Arrays.stream(diffs).max().getAsInt(); return getSolution(diffs, times, limit, min, max); }
blog.naver.com · 2025.04.23
-
Fixing Screen width for flutter web
width for flutter web Ask Question Asked 1 year, 6 months ago Modified 11 months ago Viewed 3k times 0 splitScreenMode: true, designSize: const Size(390, 844), minTextAdapt: true, builder: (context, child) { return
blog.naver.com · 2024.10.18