목록2025/02/15 (2)
넘치게 채우기
https://www.acmicpc.net/problem/6968BOJ - Lottery문제 유형: 문자열 처리, 그리디, 문자열 파싱, 구현문제 난이도: Gold III시간 제한: 1초메모리 제한: 128MB 문제You have just won the lottery. All that separates you from your multi-million dollar prize is your correct answer to the following skill-testing question: 1234+4567×11In your twenty seconds you see your fortune slipping away because you don't know whether the answer is (1234+4..
https://leetcode.com/problems/find-the-punishment-number-of-an-integer/leetcode - FInd the Punishment Number of an Integer문제 유형: 백트래킹문제 난이도: Medium 문제Given a positive integer n, return the punishment number of n.The punishment number of n is defined as the sum of the squares of all integers i such that:1 The decimal representation of i * i can be partitioned into contiguous substrings such that ..