Tag

python

[programmers] 110 옮기기

문제 설명 0과 1로 이루어진 어떤 문자열 x에 대해서, 당신은 다음과 같은 행동을 통해 x를 최대한 사전 순으로 앞에 오도록 만들고자 합니다.

[programmers] 순위

문제 설명 n명의 권투선수가 권투 대회에 참여했고 각각 1번부터 n번까지 번호를 받았습니다. 권투 경기는 1대1 방식으로 진행이 되고, 만약 A 선수가 B 선수보다 실력이 좋다면 A 선수는 B 선수를 항상 이깁니다. 심판은 주어진 경기 결과를 가지고 선수들의 순위를 매기려 합니다....

[Hackerrank] Apple and Orange

문제 설명 David has several containers, each with a number of balls in it. He has just enough containers to sort each type of ball he has into its own container....

[Hackerrank] Apple and Orange

문제 설명 Sam’s house has an apple tree and an orange tree that yield an abundance of fruit. Using the information given below, determine the number of apples an...

[Hackerrank] Encryption

문제 설명 An English text needs to be encrypted using the following encryption scheme. First, the spaces are removed from the text. Let L be the length of this t...

[구름] a4 용지를 만들자

문제 설명 가로 N cm, 세로 M cm의 직사각형 종이로 A4 용지를 최대 몇 개를 만들 수 있는지 구해주세요. 여기서 말하는 A4용지의 규격은 편의상 가로 20cm, 세로 40cm의 수치를 가집니다.

[구름] 셀프레벨테스트 9차-진법 변환

문제 설명 10진법으로 표현된 정수 N을 특정한 r진법으로 표현하는 것은 매우 쉽다. 하지만 정수 N을 어던 진법으로 변환한 결과 T를 알고 있을 때 변환에 사용된 진법 r을 알아내는 것은 어려울 수 있다. 정수 N을 r진법으로 변환한 결과 T가 주어질 때, r을 구하는 프로그램...

[Hackerrank] Jesse and Cookies

문제 설명 Jesse loves cookies and wants the sweetness of some cookies to be greater than value k. To do this, two cookies with the least sweetness are repeatedly...

[Hackerrank] Simple Text Editor

문제 설명 Implement a simple text editor. The editor initially contains an empty string, S. Perform Q operations of the following 4 types:

[Hackerrank] Merge two sorted linked lists

문제 설명 Given pointers to the heads of two sorted linked lists, merge them into a single, sorted linked list. Either head pointer may be null meaning that the ...

[Hackerrank] Non-Divisible Subset

문제 설명 Given a set of distinct integers, print the size of a maximal subset of S where the sum of any 2 numbers in S` is not evenly divisible by k.

[Hackerrank] Climbing the Leaderboard

문제 설명 An arcade game player wants to climb to the top of the leaderboard and track their ranking. The game uses Dense Ranking, so its leaderboard works like ...

[study] 정규표현식_Regex

들어가며. 코딩, 리눅스, shell script를 짜다보면 종종 사용할일이 있는데, 이번 기회에 정리를 해야겠습니다.!!! 사실 SQL을 포함하여 Frontend, Backend, Data 작업을 하다보면 종종 쓰입니다!!

[MNC] 35개 도로의 교통량 예측대회

3번째 ML Competition 2022년 2월 22일부로 교통량 예측대회가 종료되었습니다!! 데이터를 보고, 제가 이해한대로 수정하고 예측한 결과를 제출했더니1등했습니다 ㅠㅠㅠ 더 해보고 싶은게 많았는데, 아쉽네요

[Hackerrank] Check Strict Superset

문제 설명 You are given a set A and n other sets. Your job is to find whether set A is a strict superset of each of the N sets.

[Hackerrank] Check Subset

문제 설명 You are given two sets, A and B. Your job is to find whether set A is a subset of set B.

[Hackerrank] The Captain’s Room

문제 설명 Mr. Anant Asankhya is the manager at the INFINITE hotel. The hotel has an infinite amount of rooms. One fine day, a finite number of tourists come to ...

[Hackerrank] Tuples

문제 설명 Given an integer, n, and n space-separated integers as input, create a tuple, t, of those n integers. Then compute and print the result of hash(t).

[Hackerrank] Lists

문제 설명 Consider a list (list = []). You can perform the following commands:

[Hackerrank] Time Delta

문제 설명 When users post an update on social media,such as a URL, image, status update etc., other users in their network are able to view this new post on thei...

[Hackerrank] Finding the percentage

문제 설명 The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list of students. Print the average of the marks arra...

[Hackerrank] Nested Lists

문제 설명 Given the names and grades for each student in a class of N students, store them in a nested list and print the name(s) of any student(s) having the se...

[study] Python list comprehensions

    Ah-Jji? 처음 파이썬을 공부하기 시작했을때, set(), dictionary(), list(), tuple() 이 4개의 개념이 헷갈렸다. (위의 4가지의 개념도 포스팅을 작성하면 좋을것 같다.!!) list를 접하면서 comprehension이라는 개념을 접했는데, ...

[Hackerrank] list comprehension

문제 설명 Let’s learn about list comprehensions! You are given three integers x,y and z representing the dimensions of a cuboid along with an integer n.

[programmers] 숫자의 표현

문제 설명 Finn은 요즘 수학공부에 빠져 있습니다. 수학 공부를 하던 Finn은 자연수 n을 연속한 자연수들로 표현 하는 방법이 여러개라는 사실을 알게 되었습니다. 예를들어 15는 다음과 같이 4가지로 표현 할 수 있습니다.

[programmers] 영어 끝말잇기

문제 설명 1부터 n까지 번호가 붙어있는 n명의 사람이 영어 끝말잇기를 하고 있습니다. 영어 끝말잇기는 다음과 같은 규칙으로 진행됩니다.

[MNC] 대출자 채무 불이행 여부 예측 모델[D-1]

마지막 불꽃! 02.07. 12시이면 첫번째 과제가 끝이난다! 일단 아쉽다. 처음하는 competition이였고, 처음하는 ML tuning이여서, 모르는 용어와 방법들이 많다. 그래도 내일이면 후련하게 털어버리고 더 많은 대회와 논문구현과 방법론들으 접하게 되겠지.

[programmers] 피보나치 수

문제 설명 피보나치 수는 F(0) = 0, F(1) = 1일 때, 1 이상의 n에 대하여 F(n) = F(n-1) + F(n-2) 가 적용되는 수 입니다.

[programmers] 최솟값 만들기

문제 설명 길이가 같은 배열 A, B 두개가 있습니다. 각 배열은 자연수로 이루어져 있습니다. 배열 A, B에서 각각 한 개의 숫자를 뽑아 두 수를 곱합니다. 이러한 과정을 배열의 길이만큼 반복하며, 두 수를 곱한 값을 누적하여 더합니다. 이때 최종적으로 누적된 값이 최소가 되도록...

[programmers] JadenCase 문자열 만들기

문제 설명 JadenCase란 모든 단어의 첫 문자가 대문자이고, 그 외의 알파벳은 소문자인 문자열입니다. 문자열 s가 주어졌을 때, s를 JadenCase로 바꾼 문자열을 리턴하는 함수, solution을 완성해주세요.

[programmers] 타겟 넘버

문제 설명 n개의 음이 아닌 정수들이 있습니다. 이 정수들을 순서를 바꾸지 않고 적절히 더하거나 빼서 타겟 넘버를 만들려고 합니다. 예를 들어 [1, 1, 1, 1, 1]로 숫자 3을 만들려면 다음 다섯 방법을 쓸 수 있습니다. -1+1+1+1+1 = 3 +1-1+1+1+1 = 3...

[programmers] 쩍지어 제거하기

문제 설명 짝지어 제거하기는, 알파벳 소문자로 이루어진 문자열을 가지고 시작합니다. 먼저 문자열에서 같은 알파벳이 2개 붙어 있는 짝을 찾습니다. 그다음, 그 둘을 제거한 뒤, 앞뒤로 문자열을 이어 붙입니다. 이 과정을 반복해서 문자열을 모두 제거한다면 짝지어 제거하기가 종료됩니다...

[programmers] 소수 찾기

문제 설명 한자리 숫자가 적힌 종이 조각이 흩어져있습니다. 흩어진 종이 조각을 붙여 소수를 몇 개 만들 수 있는지 알아내려 합니다.

[BAEKJOON] 01타일

문제 설명 지원이에게 2진 수열을 가르쳐 주기 위해, 지원이 아버지는 그에게 타일들을 선물해주셨다. 그리고 이 각각의 타일들은 0 또는 1이 쓰여 있는 낱장의 타일들이다.

[programmers] 주식가격

문제 설명 초 단위로 기록된 주식가격이 담긴 배열 prices가 매개변수로 주어질 때, 가격이 떨어지지 않은 기간은 몇 초인지를 return 하도록 solution 함수를 완성하세요.

[study] NLP 공부[22-01-24 업데이트]

Flow Bag-of-words vector Word Embedding CoVc GPT-1 BERT, GPT-2 XLM(번역) XLNet(transformer-XL) RoBERTa ELECTRA(GAN)(replace, original) ALBERT(빠른 BERT, SOP) Di...

[programmers] 가장 큰 수

문제 설명 0 또는 양의 정수가 주어졌을 때, 정수를 이어 붙여 만들 수 있는 가장 큰 수를 알아내 주세요. 예를 들어, 주어진 정수가 [6, 10, 2]라면 [6102, 6210, 1062, 1026, 2610, 2106]를 만들 수 있고, 이중 가장 큰 수는 6210입니다. ...

[programmers] 행렬의 곱셈

문제 설명 2차원 행렬 arr1과 arr2를 입력받아, arr1에 arr2를 곱한 결과를 반환하는 함수, solution을 완성해주세요.

[programmers] N개의 최소공배수

문제 설명 두 수의 최소공배수(Least Common Multiple)란 입력된 두 수의 배수 중 공통이 되는 가장 작은 숫자를 의미합니다. 예를 들어 2와 7의 최소공배수는 14가 됩니다. 정의를 확장해서, n개의 수의 최소공배수는 n 개의 수들의 배수 중 공통이 되는 가장 작은...

[programmers] 기능개발

문제 설명 사전에 알파벳 모음 ‘A’, ‘E’, ‘I’, ‘O’, ‘U’만을 사용하여 만들 수 있는, 길이 5 이하의 모든 단어가 수록되어 있습니다. 사전에서 첫 번째 단어는 “A”이고, 그다음은 “AA”이며, 마지막 단어는 “UUUUU”입니다.

[programmers] 124나라의 숫자

```python def solution(n): numbers = [‘4’, ‘1’, ‘2’] answer = ‘’ while n: answer = numbers[n % 3] + answer n = n // 3 - (n % 3 ==...

Pytorch test-1

데이터 전처리 PyTorch에서는 데이터 작업을 위한 기본요소 두가지인 torch.utils.data.DataLoader와 torch.utils.data.Dataset가 있습니다. Dataset은 Sample과 label을 저장하고, DataLoader은 Dataset을 it...

맨 위로 이동 ↑

algorithm

[programmers] 110 옮기기

문제 설명 0과 1로 이루어진 어떤 문자열 x에 대해서, 당신은 다음과 같은 행동을 통해 x를 최대한 사전 순으로 앞에 오도록 만들고자 합니다.

[programmers] 순위

문제 설명 n명의 권투선수가 권투 대회에 참여했고 각각 1번부터 n번까지 번호를 받았습니다. 권투 경기는 1대1 방식으로 진행이 되고, 만약 A 선수가 B 선수보다 실력이 좋다면 A 선수는 B 선수를 항상 이깁니다. 심판은 주어진 경기 결과를 가지고 선수들의 순위를 매기려 합니다....

[Hackerrank] Apple and Orange

문제 설명 David has several containers, each with a number of balls in it. He has just enough containers to sort each type of ball he has into its own container....

[Hackerrank] Apple and Orange

문제 설명 Sam’s house has an apple tree and an orange tree that yield an abundance of fruit. Using the information given below, determine the number of apples an...

[Hackerrank] Encryption

문제 설명 An English text needs to be encrypted using the following encryption scheme. First, the spaces are removed from the text. Let L be the length of this t...

[구름] a4 용지를 만들자

문제 설명 가로 N cm, 세로 M cm의 직사각형 종이로 A4 용지를 최대 몇 개를 만들 수 있는지 구해주세요. 여기서 말하는 A4용지의 규격은 편의상 가로 20cm, 세로 40cm의 수치를 가집니다.

[구름] 셀프레벨테스트 9차-진법 변환

문제 설명 10진법으로 표현된 정수 N을 특정한 r진법으로 표현하는 것은 매우 쉽다. 하지만 정수 N을 어던 진법으로 변환한 결과 T를 알고 있을 때 변환에 사용된 진법 r을 알아내는 것은 어려울 수 있다. 정수 N을 r진법으로 변환한 결과 T가 주어질 때, r을 구하는 프로그램...

[Hackerrank] Jesse and Cookies

문제 설명 Jesse loves cookies and wants the sweetness of some cookies to be greater than value k. To do this, two cookies with the least sweetness are repeatedly...

[Hackerrank] Simple Text Editor

문제 설명 Implement a simple text editor. The editor initially contains an empty string, S. Perform Q operations of the following 4 types:

[Hackerrank] Merge two sorted linked lists

문제 설명 Given pointers to the heads of two sorted linked lists, merge them into a single, sorted linked list. Either head pointer may be null meaning that the ...

[Hackerrank] Non-Divisible Subset

문제 설명 Given a set of distinct integers, print the size of a maximal subset of S where the sum of any 2 numbers in S` is not evenly divisible by k.

[Hackerrank] Climbing the Leaderboard

문제 설명 An arcade game player wants to climb to the top of the leaderboard and track their ranking. The game uses Dense Ranking, so its leaderboard works like ...

[Hackerrank] Check Strict Superset

문제 설명 You are given a set A and n other sets. Your job is to find whether set A is a strict superset of each of the N sets.

[Hackerrank] Check Subset

문제 설명 You are given two sets, A and B. Your job is to find whether set A is a subset of set B.

[Hackerrank] The Captain’s Room

문제 설명 Mr. Anant Asankhya is the manager at the INFINITE hotel. The hotel has an infinite amount of rooms. One fine day, a finite number of tourists come to ...

[Hackerrank] Tuples

문제 설명 Given an integer, n, and n space-separated integers as input, create a tuple, t, of those n integers. Then compute and print the result of hash(t).

[Hackerrank] Lists

문제 설명 Consider a list (list = []). You can perform the following commands:

[Hackerrank] Time Delta

문제 설명 When users post an update on social media,such as a URL, image, status update etc., other users in their network are able to view this new post on thei...

[Hackerrank] Finding the percentage

문제 설명 The provided code stub will read in a dictionary containing key/value pairs of name:[marks] for a list of students. Print the average of the marks arra...

[Hackerrank] Nested Lists

문제 설명 Given the names and grades for each student in a class of N students, store them in a nested list and print the name(s) of any student(s) having the se...

[Hackerrank] list comprehension

문제 설명 Let’s learn about list comprehensions! You are given three integers x,y and z representing the dimensions of a cuboid along with an integer n.

[programmers] 숫자의 표현

문제 설명 Finn은 요즘 수학공부에 빠져 있습니다. 수학 공부를 하던 Finn은 자연수 n을 연속한 자연수들로 표현 하는 방법이 여러개라는 사실을 알게 되었습니다. 예를들어 15는 다음과 같이 4가지로 표현 할 수 있습니다.

[programmers] 영어 끝말잇기

문제 설명 1부터 n까지 번호가 붙어있는 n명의 사람이 영어 끝말잇기를 하고 있습니다. 영어 끝말잇기는 다음과 같은 규칙으로 진행됩니다.

[programmers] 피보나치 수

문제 설명 피보나치 수는 F(0) = 0, F(1) = 1일 때, 1 이상의 n에 대하여 F(n) = F(n-1) + F(n-2) 가 적용되는 수 입니다.

[programmers] 최솟값 만들기

문제 설명 길이가 같은 배열 A, B 두개가 있습니다. 각 배열은 자연수로 이루어져 있습니다. 배열 A, B에서 각각 한 개의 숫자를 뽑아 두 수를 곱합니다. 이러한 과정을 배열의 길이만큼 반복하며, 두 수를 곱한 값을 누적하여 더합니다. 이때 최종적으로 누적된 값이 최소가 되도록...

[programmers] JadenCase 문자열 만들기

문제 설명 JadenCase란 모든 단어의 첫 문자가 대문자이고, 그 외의 알파벳은 소문자인 문자열입니다. 문자열 s가 주어졌을 때, s를 JadenCase로 바꾼 문자열을 리턴하는 함수, solution을 완성해주세요.

[programmers] 타겟 넘버

문제 설명 n개의 음이 아닌 정수들이 있습니다. 이 정수들을 순서를 바꾸지 않고 적절히 더하거나 빼서 타겟 넘버를 만들려고 합니다. 예를 들어 [1, 1, 1, 1, 1]로 숫자 3을 만들려면 다음 다섯 방법을 쓸 수 있습니다. -1+1+1+1+1 = 3 +1-1+1+1+1 = 3...

[programmers] 쩍지어 제거하기

문제 설명 짝지어 제거하기는, 알파벳 소문자로 이루어진 문자열을 가지고 시작합니다. 먼저 문자열에서 같은 알파벳이 2개 붙어 있는 짝을 찾습니다. 그다음, 그 둘을 제거한 뒤, 앞뒤로 문자열을 이어 붙입니다. 이 과정을 반복해서 문자열을 모두 제거한다면 짝지어 제거하기가 종료됩니다...

[programmers] 소수 찾기

문제 설명 한자리 숫자가 적힌 종이 조각이 흩어져있습니다. 흩어진 종이 조각을 붙여 소수를 몇 개 만들 수 있는지 알아내려 합니다.

[BAEKJOON] 01타일

문제 설명 지원이에게 2진 수열을 가르쳐 주기 위해, 지원이 아버지는 그에게 타일들을 선물해주셨다. 그리고 이 각각의 타일들은 0 또는 1이 쓰여 있는 낱장의 타일들이다.

[programmers] 주식가격

문제 설명 초 단위로 기록된 주식가격이 담긴 배열 prices가 매개변수로 주어질 때, 가격이 떨어지지 않은 기간은 몇 초인지를 return 하도록 solution 함수를 완성하세요.

[programmers] 가장 큰 수

문제 설명 0 또는 양의 정수가 주어졌을 때, 정수를 이어 붙여 만들 수 있는 가장 큰 수를 알아내 주세요. 예를 들어, 주어진 정수가 [6, 10, 2]라면 [6102, 6210, 1062, 1026, 2610, 2106]를 만들 수 있고, 이중 가장 큰 수는 6210입니다. ...

[programmers] 행렬의 곱셈

문제 설명 2차원 행렬 arr1과 arr2를 입력받아, arr1에 arr2를 곱한 결과를 반환하는 함수, solution을 완성해주세요.

[programmers] N개의 최소공배수

문제 설명 두 수의 최소공배수(Least Common Multiple)란 입력된 두 수의 배수 중 공통이 되는 가장 작은 숫자를 의미합니다. 예를 들어 2와 7의 최소공배수는 14가 됩니다. 정의를 확장해서, n개의 수의 최소공배수는 n 개의 수들의 배수 중 공통이 되는 가장 작은...

[programmers] 기능개발

문제 설명 사전에 알파벳 모음 ‘A’, ‘E’, ‘I’, ‘O’, ‘U’만을 사용하여 만들 수 있는, 길이 5 이하의 모든 단어가 수록되어 있습니다. 사전에서 첫 번째 단어는 “A”이고, 그다음은 “AA”이며, 마지막 단어는 “UUUUU”입니다.

[programmers] 124나라의 숫자

```python def solution(n): numbers = [‘4’, ‘1’, ‘2’] answer = ‘’ while n: answer = numbers[n % 3] + answer n = n // 3 - (n % 3 ==...

맨 위로 이동 ↑

wargame

[natas] Natas Level 0

문제설명 Username: natas0 Password: natas0 URL:        http://natas0.natas.labs.overthewire.org

[natas] Natas

Natas 설명 Natas teaches the basics of serverside web-security. Each level of natas consists of its own website located at http://natasX.natas.labs.overthew...

[bandit] Bandit Level 31 → Level 32

문제설명 Level Goal There is a git repository at ssh://bandit31-git@localhost/home/bandit31-git/repo. The password for the user bandit31-git is the same as for...

[bandit] Bandit Level 30 → Level 31

문제설명 Level Goal There is a git repository at ssh://bandit30-git@localhost/home/bandit30-git/repo. The password for the user bandit30-git is the same as for...

[bandit] Bandit Level 29 → Level 30

문제설명 Level Goal There is a git repository at ssh://bandit29-git@localhost/home/bandit29-git/repo. The password for the user bandit29-git is the same as for...

[bandit] Bandit Level 28 → Level 29

문제설명 Level Goal There is a git repository at ssh://bandit28-git@localhost/home/bandit28-git/repo. The password for the user bandit28-git is the same as for...

[bandit] Bandit Level 27 → Level 28

문제설명 Level Goal There is a git repository at ssh://bandit27-git@localhost/home/bandit27-git/repo. The password for the user bandit27-git is the same as for...

[bandit] Bandit Level 26 → Level 27

문제설명 Level Goal Good job getting a shell! Now hurry and grab the password for bandit27! Commands you may need to solve this level ls

[bandit] Bandit Level 25 → Level 26

문제설명 Level Goal Logging in to bandit26 from bandit25 should be fairly easy… The shell for user bandit26 is not /bin/bash, but something else. Find out what...

[bandit] Bandit Level 24 → Level 25

문제설명 Level Goal A daemon is listening on port 30002 and will give you the password for bandit25 if given the password for bandit24 and a secret numeric 4-d...

[bandit] Bandit Level 32 → Level 33

문제설명 Level Goal After all this git stuff its time for another escape. Good luck! Commands you may need to solve this level sh, man

[bandit] Bandit Level 23 → Level 24

문제설명 Level Goal A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration...

[bandit] Bandit Level 22 → Level 23

문제설명 Level Goal A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration...

[bandit] Bandit Level 21 → Level 22

문제설명 Level Goal A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration...

[bandit] Bandit Level 20 → Level 21

문제설명 Level Goal There is a setuid binary in the homedirectory that does the following: it makes a connection to localhost on the port you specify as a comm...

[bandit] Bandit Level 19 → Level 20

문제설명 Level Goal To gain access to the next level, you should use the setuid binary in the homedirectory. Execute it without arguments to find out how to us...

[bandit] Bandit Level 18 → Level 19

문제설명 Level Goal The password for the next level is stored in a file readme in the homedirectory. Unfortunately, someone has modified .bashrc to log you out...

[bandit] Bandit Level 17 → Level 18

문제설명 Level Goal There are 2 files in the homedirectory: passwords.old and passwords.new. The password for the next level is in passwords.new and is the onl...

[bandit] Bandit Level 13 → Level 14

문제설명 Level Goal The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get...

[bandit] Bandit Level 12 → Level 13

문제설명 Level Goal The password for the next level is stored in the file data.txt, which is a hexdump of a file that has been repeatedly compressed. For this...

[bandit] Bandit Level 11 → Level 12

문제설명 Level Goal The password for the next level is stored in the file data.txt, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by ...

[bandit] Bandit Level 10 → Level 11

문제설명 Level Goal The password for the next level is stored in the file data.txt, which contains base64 encoded data Commands you may need to solve this lev...

[bandit] Bandit Level 9 → Level 10

문제설명 Level Goal The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters...

[bandit] Bandit Level 8 → Level 9

문제설명 Level Goal The password for the next level is stored in the file data.txt and is the only line of text that occurs only once Commands you may need to...

[bandit] Bandit Level 6 → Level 7

문제설명 Level Goal The password for the next level is stored somewhere on the server and has all of the following properties:

[bandit] Bandit Level 16 → Level 17

문제설명 Level Goal The credentials for the next level can be retrieved by submitting the password of the current level to a port on localhost in the range 310...

[bandit] Bandit Level 15 → Level 16

문제설명 Level Goal The password for the next level can be retrieved by submitting the password of the current level to port 30001 on localhost using SSL encry...

[bandit] Bandit Level 14 → Level 15

문제설명 Level Goal The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost. Commands you ...

[bandit] Bandit Level 5 → Level 6

문제설명 Level Goal The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:

[bandit] Bandit Level 4 → Level 5

문제설명 Level Goal The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try ...

[bandit] Bandit Level 2 → Level 3

문제설명 Level Goal The password for the next level is stored in a file called spaces in this filename located in the home directory Commands you may need to...

[bandit] Bandit Level 0 → Level 1

문제설명 Level Goal The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 usi...

맨 위로 이동 ↑

linux

[study] 정규표현식_Regex

들어가며. 코딩, 리눅스, shell script를 짜다보면 종종 사용할일이 있는데, 이번 기회에 정리를 해야겠습니다.!!! 사실 SQL을 포함하여 Frontend, Backend, Data 작업을 하다보면 종종 쓰입니다!!

[bandit] Bandit Level 31 → Level 32

문제설명 Level Goal There is a git repository at ssh://bandit31-git@localhost/home/bandit31-git/repo. The password for the user bandit31-git is the same as for...

[bandit] Bandit Level 30 → Level 31

문제설명 Level Goal There is a git repository at ssh://bandit30-git@localhost/home/bandit30-git/repo. The password for the user bandit30-git is the same as for...

[bandit] Bandit Level 29 → Level 30

문제설명 Level Goal There is a git repository at ssh://bandit29-git@localhost/home/bandit29-git/repo. The password for the user bandit29-git is the same as for...

[bandit] Bandit Level 28 → Level 29

문제설명 Level Goal There is a git repository at ssh://bandit28-git@localhost/home/bandit28-git/repo. The password for the user bandit28-git is the same as for...

[bandit] Bandit Level 27 → Level 28

문제설명 Level Goal There is a git repository at ssh://bandit27-git@localhost/home/bandit27-git/repo. The password for the user bandit27-git is the same as for...

[bandit] Bandit Level 26 → Level 27

문제설명 Level Goal Good job getting a shell! Now hurry and grab the password for bandit27! Commands you may need to solve this level ls

[bandit] Bandit Level 25 → Level 26

문제설명 Level Goal Logging in to bandit26 from bandit25 should be fairly easy… The shell for user bandit26 is not /bin/bash, but something else. Find out what...

[bandit] Bandit Level 24 → Level 25

문제설명 Level Goal A daemon is listening on port 30002 and will give you the password for bandit25 if given the password for bandit24 and a secret numeric 4-d...

[bandit] Bandit Level 32 → Level 33

문제설명 Level Goal After all this git stuff its time for another escape. Good luck! Commands you may need to solve this level sh, man

[bandit] Bandit Level 23 → Level 24

문제설명 Level Goal A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration...

[bandit] Bandit Level 22 → Level 23

문제설명 Level Goal A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration...

[bandit] Bandit Level 21 → Level 22

문제설명 Level Goal A program is running automatically at regular intervals from cron, the time-based job scheduler. Look in /etc/cron.d/ for the configuration...

[bandit] Bandit Level 20 → Level 21

문제설명 Level Goal There is a setuid binary in the homedirectory that does the following: it makes a connection to localhost on the port you specify as a comm...

[bandit] Bandit Level 19 → Level 20

문제설명 Level Goal To gain access to the next level, you should use the setuid binary in the homedirectory. Execute it without arguments to find out how to us...

[bandit] Bandit Level 18 → Level 19

문제설명 Level Goal The password for the next level is stored in a file readme in the homedirectory. Unfortunately, someone has modified .bashrc to log you out...

[bandit] Bandit Level 17 → Level 18

문제설명 Level Goal There are 2 files in the homedirectory: passwords.old and passwords.new. The password for the next level is in passwords.new and is the onl...

[bandit] Bandit Level 13 → Level 14

문제설명 Level Goal The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get...

[bandit] Bandit Level 12 → Level 13

문제설명 Level Goal The password for the next level is stored in the file data.txt, which is a hexdump of a file that has been repeatedly compressed. For this...

[bandit] Bandit Level 11 → Level 12

문제설명 Level Goal The password for the next level is stored in the file data.txt, where all lowercase (a-z) and uppercase (A-Z) letters have been rotated by ...

[bandit] Bandit Level 10 → Level 11

문제설명 Level Goal The password for the next level is stored in the file data.txt, which contains base64 encoded data Commands you may need to solve this lev...

[bandit] Bandit Level 9 → Level 10

문제설명 Level Goal The password for the next level is stored in the file data.txt in one of the few human-readable strings, preceded by several ‘=’ characters...

[bandit] Bandit Level 8 → Level 9

문제설명 Level Goal The password for the next level is stored in the file data.txt and is the only line of text that occurs only once Commands you may need to...

[bandit] Bandit Level 6 → Level 7

문제설명 Level Goal The password for the next level is stored somewhere on the server and has all of the following properties:

[bandit] Bandit Level 16 → Level 17

문제설명 Level Goal The credentials for the next level can be retrieved by submitting the password of the current level to a port on localhost in the range 310...

[bandit] Bandit Level 15 → Level 16

문제설명 Level Goal The password for the next level can be retrieved by submitting the password of the current level to port 30001 on localhost using SSL encry...

[bandit] Bandit Level 14 → Level 15

문제설명 Level Goal The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost. Commands you ...

[bandit] Bandit Level 5 → Level 6

문제설명 Level Goal The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:

[bandit] Bandit Level 4 → Level 5

문제설명 Level Goal The password for the next level is stored in the only human-readable file in the inhere directory. Tip: if your terminal is messed up, try ...

[bandit] Bandit Level 2 → Level 3

문제설명 Level Goal The password for the next level is stored in a file called spaces in this filename located in the home directory Commands you may need to...

[bandit] Bandit Level 0 → Level 1

문제설명 Level Goal The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 usi...

맨 위로 이동 ↑

pytorch

[MNC] 35개 도로의 교통량 예측대회

3번째 ML Competition 2022년 2월 22일부로 교통량 예측대회가 종료되었습니다!! 데이터를 보고, 제가 이해한대로 수정하고 예측한 결과를 제출했더니1등했습니다 ㅠㅠㅠ 더 해보고 싶은게 많았는데, 아쉽네요

[MNC] 대출자 채무 불이행 여부 예측 모델[D-1]

마지막 불꽃! 02.07. 12시이면 첫번째 과제가 끝이난다! 일단 아쉽다. 처음하는 competition이였고, 처음하는 ML tuning이여서, 모르는 용어와 방법들이 많다. 그래도 내일이면 후련하게 털어버리고 더 많은 대회와 논문구현과 방법론들으 접하게 되겠지.

[study] NLP 공부[22-01-24 업데이트]

Flow Bag-of-words vector Word Embedding CoVc GPT-1 BERT, GPT-2 XLM(번역) XLNet(transformer-XL) RoBERTa ELECTRA(GAN)(replace, original) ALBERT(빠른 BERT, SOP) Di...

Pytorch test-1

데이터 전처리 PyTorch에서는 데이터 작업을 위한 기본요소 두가지인 torch.utils.data.DataLoader와 torch.utils.data.Dataset가 있습니다. Dataset은 Sample과 label을 저장하고, DataLoader은 Dataset을 it...

맨 위로 이동 ↑

수학

[Polymath] 2021미궁 #5

잡담 이 문제의 정답을 아시는 분은 댓글로 남겨주시면, 감사하겠습니다. 기왕이면 풀이도요 ㅠㅠ…

[Polymath] 2021미궁 #4

잡담 내가 2020미궁에서 못풀었던 문제이다. 이 문제도 솔직히 풀 자신이 없었다. 그런데 숫자가 낯이 익다…

[Polymath] 2021미궁 #3

잡담 알파벳 문제가 자주 나온다. 그런데 막 이상한 그림패턴 문제들보다는 잘 풀린다. 익숙하다고 생각하는 것 같다.

[Polymath] 2021미궁 #2

잡담 이번 문제는 무난하게 넘어갔다. 2020년도 문제가 말이 안되는 난이도였나 보다.. 영어로 정답을 맞추라는거는 처음 나왔다.

[Polymath] 2021미궁 #1

잡담 2020미궁 문제 8번에 막혀서 진도가 나가지 못하고 있어서, 2021년 12월에 나온 문제들을 풀어 보고있다. 막히면 갑갑한데, 알고리즘 풀면서 생각해봐야겠다. 이 문제가 초등학교 수학문제라는것에 감탄을 하였다.

[Polymath] 2020미궁 #9A

잡담 이 문제의 정답을 아시는 분은 댓글로 남겨주시면, 감사하겠습니다. 기왕이면 풀이도요 ㅠㅠ…

[Polymath] 2020미궁 #8A

잡담 이 문제는 내가 멍청해서 오래걸렸다…. 하..ㅋㅋ 어이가 없는데, 웃기다 ㅋㅋ 이 문제로 하루종일 고민해서 못풀고, 14일 뒤에야 다시보는데 풀렸다 ㅋㅋㅋ

[Polymath] 2020미궁 #7

잡담 내가 솔직히 이전문제들은 그려러니 할려고 했는데, 이거는 초등학교 문제라는게 말이 안된다. 아니 소수(prime)의 개념을 초등학생한테 가르친다고? 교육부가 말려야 되는거 아니야? 내가 공부를 안한건가? 이야…. 환장하겠다.. 수열 문제가 규칙성을 ...

[Polymath] 2020미궁 #6

잡담 이전문제에서 멘탈이 나가버렸다. 치팅으로 통과했고, 이번 문제를 보자마자 깨달았다. 나는 초등학교 수학부터 다시 공부해야한다고. 이게 진짜 초등학교..문제?

[Polymath] 2020미궁 #5

잡담 이게 초등학교 문제라는게 이제는 실감이 안된다. 나의 초등학교 기억은 소풍가고, 놀았던 기억밖에 없는데… 도대체 지금 초등학생들은 어떤 시련을 견디고 있는걸까 . (한편으로는 애잔하다.)

[Polymath] 2020미궁 #4

잡담 이 문제에서 시간을 많이 썻다. 알고리즘이건 막히는 문제건, 꾸준하게 푸는 것을 좋아해서, 바로 안풀린다고 실망하기보다는 나중에 다시 푸는 스타일인데, 이 문제도 그런식으로 풀었다.

[Polymath] 2020미궁 #3

잡담 2번문제에 이은 노가다…. 이렇게 푸라고 만든 문제가 아닐텐데;;;

[Polymath] 2020미궁 #2

잡담 ㅋㅋㅋ 2번째 문제를 보자마자, 이게 초등학교 문제라고? 힐링하려다가 강제로 머리 쓰고있다… 참고로 문제에 대한 설명이 매우 불친절하다라는것을 느낀다…(앞으로 이런 경우가 종종 생긴다..)

[Polymath] 2020미궁 #1

잡담 우연히 폴리매스라는 사이트를 알게되었다. 초등학교 수학문제들을 풀 수 있었다. 앞으로, 폴리매스 포스팅도 해보겠다 ㅋㅋㅋ 이거 풇 시간에, Linux, OS, AWS, Algorithm 등등 할게 많은데, 이런거라도 한번식 해보면서 힐링해야겠다.

맨 위로 이동 ↑

초등학교

[Polymath] 2021미궁 #5

잡담 이 문제의 정답을 아시는 분은 댓글로 남겨주시면, 감사하겠습니다. 기왕이면 풀이도요 ㅠㅠ…

[Polymath] 2021미궁 #4

잡담 내가 2020미궁에서 못풀었던 문제이다. 이 문제도 솔직히 풀 자신이 없었다. 그런데 숫자가 낯이 익다…

[Polymath] 2021미궁 #3

잡담 알파벳 문제가 자주 나온다. 그런데 막 이상한 그림패턴 문제들보다는 잘 풀린다. 익숙하다고 생각하는 것 같다.

[Polymath] 2021미궁 #2

잡담 이번 문제는 무난하게 넘어갔다. 2020년도 문제가 말이 안되는 난이도였나 보다.. 영어로 정답을 맞추라는거는 처음 나왔다.

[Polymath] 2021미궁 #1

잡담 2020미궁 문제 8번에 막혀서 진도가 나가지 못하고 있어서, 2021년 12월에 나온 문제들을 풀어 보고있다. 막히면 갑갑한데, 알고리즘 풀면서 생각해봐야겠다. 이 문제가 초등학교 수학문제라는것에 감탄을 하였다.

[Polymath] 2020미궁 #9A

잡담 이 문제의 정답을 아시는 분은 댓글로 남겨주시면, 감사하겠습니다. 기왕이면 풀이도요 ㅠㅠ…

[Polymath] 2020미궁 #8A

잡담 이 문제는 내가 멍청해서 오래걸렸다…. 하..ㅋㅋ 어이가 없는데, 웃기다 ㅋㅋ 이 문제로 하루종일 고민해서 못풀고, 14일 뒤에야 다시보는데 풀렸다 ㅋㅋㅋ

[Polymath] 2020미궁 #7

잡담 내가 솔직히 이전문제들은 그려러니 할려고 했는데, 이거는 초등학교 문제라는게 말이 안된다. 아니 소수(prime)의 개념을 초등학생한테 가르친다고? 교육부가 말려야 되는거 아니야? 내가 공부를 안한건가? 이야…. 환장하겠다.. 수열 문제가 규칙성을 ...

[Polymath] 2020미궁 #6

잡담 이전문제에서 멘탈이 나가버렸다. 치팅으로 통과했고, 이번 문제를 보자마자 깨달았다. 나는 초등학교 수학부터 다시 공부해야한다고. 이게 진짜 초등학교..문제?

[Polymath] 2020미궁 #5

잡담 이게 초등학교 문제라는게 이제는 실감이 안된다. 나의 초등학교 기억은 소풍가고, 놀았던 기억밖에 없는데… 도대체 지금 초등학생들은 어떤 시련을 견디고 있는걸까 . (한편으로는 애잔하다.)

[Polymath] 2020미궁 #4

잡담 이 문제에서 시간을 많이 썻다. 알고리즘이건 막히는 문제건, 꾸준하게 푸는 것을 좋아해서, 바로 안풀린다고 실망하기보다는 나중에 다시 푸는 스타일인데, 이 문제도 그런식으로 풀었다.

[Polymath] 2020미궁 #3

잡담 2번문제에 이은 노가다…. 이렇게 푸라고 만든 문제가 아닐텐데;;;

[Polymath] 2020미궁 #2

잡담 ㅋㅋㅋ 2번째 문제를 보자마자, 이게 초등학교 문제라고? 힐링하려다가 강제로 머리 쓰고있다… 참고로 문제에 대한 설명이 매우 불친절하다라는것을 느낀다…(앞으로 이런 경우가 종종 생긴다..)

[Polymath] 2020미궁 #1

잡담 우연히 폴리매스라는 사이트를 알게되었다. 초등학교 수학문제들을 풀 수 있었다. 앞으로, 폴리매스 포스팅도 해보겠다 ㅋㅋㅋ 이거 풇 시간에, Linux, OS, AWS, Algorithm 등등 할게 많은데, 이런거라도 한번식 해보면서 힐링해야겠다.

맨 위로 이동 ↑

web

[natas] Natas Level 0

문제설명 Username: natas0 Password: natas0 URL:        http://natas0.natas.labs.overthewire.org

[natas] Natas

Natas 설명 Natas teaches the basics of serverside web-security. Each level of natas consists of its own website located at http://natasX.natas.labs.overthew...

맨 위로 이동 ↑

ML

[MNC] 35개 도로의 교통량 예측대회

3번째 ML Competition 2022년 2월 22일부로 교통량 예측대회가 종료되었습니다!! 데이터를 보고, 제가 이해한대로 수정하고 예측한 결과를 제출했더니1등했습니다 ㅠㅠㅠ 더 해보고 싶은게 많았는데, 아쉽네요

[MNC] 대출자 채무 불이행 여부 예측 모델[D-1]

마지막 불꽃! 02.07. 12시이면 첫번째 과제가 끝이난다! 일단 아쉽다. 처음하는 competition이였고, 처음하는 ML tuning이여서, 모르는 용어와 방법들이 많다. 그래도 내일이면 후련하게 털어버리고 더 많은 대회와 논문구현과 방법론들으 접하게 되겠지.

맨 위로 이동 ↑

life

맨 위로 이동 ↑

kaggle

맨 위로 이동 ↑

미래

[book] 읽어야하는 책 목록들[계속 업데이트해가면서 누적]

책 목록 코스모스 /칼세이건 시간의역사 /스티븐호킹 엘러건트 유니버스/브라이언 그린 평행우주 /미치오 카쿠 이기적 유전자 /리처드 도킨스 이중나선 /제임스 왓슨 모든순간의물리학 /카를로 로벨리 철학이란 무엇인가 /버트런드 러셀 서양의 지혜 /버트런...

맨 위로 이동 ↑

논리

맨 위로 이동 ↑

공부

맨 위로 이동 ↑

무용지용

[philosophy] 철학을 왜 공부할까?

철학을 왜 공부하는가??(feat. 장자) 철학을 공부하다보면, 굉장히 현실적이 못할때가 많다. 치열한 경쟁을 통과해야 겨우 살아남을 수 있는 현대사회에서 장자적인 삶의 태도는 너무 소극적이지 않은가?

맨 위로 이동 ↑

linear algebra

[study] Linear Algebra - 0

Linear Algebra를 시작하며 대학교 전공이 정보통신이여서, Linear Algebra 수업을 들었었다. 그때 당시에는 별로 흥미가 없어서 공부하지 않았지만, 이런 내가 데이터(인공지능)를 다루면서 Linear Algebra를 다시 복습하고 있다. (복습보다는 처음 접한다는...

맨 위로 이동 ↑

re

[study] 정규표현식_Regex

들어가며. 코딩, 리눅스, shell script를 짜다보면 종종 사용할일이 있는데, 이번 기회에 정리를 해야겠습니다.!!! 사실 SQL을 포함하여 Frontend, Backend, Data 작업을 하다보면 종종 쓰입니다!!

맨 위로 이동 ↑

shell script

[study] 정규표현식_Regex

들어가며. 코딩, 리눅스, shell script를 짜다보면 종종 사용할일이 있는데, 이번 기회에 정리를 해야겠습니다.!!! 사실 SQL을 포함하여 Frontend, Backend, Data 작업을 하다보면 종종 쓰입니다!!

맨 위로 이동 ↑