Ubuntu에 Docker를 설치해보자 설치 기준 Ubuntu 18.04 LTS를 사용했습니다. $ sudo apt update $ sudo apt install apt-transport-https ca-certificates curl software-properties-common $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" $ sudo apt update $ apt-cache policy docker-ce Ubuntu에서는 cur..
Educational Codeforces Round 70 (Rated for Div. 2) Dashboard - Educational Codeforces Round 70 (Rated for Div. 2) - Codeforces codeforces.com A. You Are Given Two Binary Strings... $S_k$은 0과 1로 이루어진 문자열(2진수로 나타낸 수) $f(x)$를 $k$번만큼 밀어낸 2진수 문자열과 와 $f(y)$의 합이다. 여기서, $k$는 우리가 임의로 정할 수 있는 수이다. 문제에서 요구하는 것은 이 $S_k$를 뒤집은 문자열(앞으로 $revS_k$라고 하겠다)이 $k$에 따라 여러가지 생길 수 있는데 그 중에서 가장 사전 순으로 앞서는 문자열을 만들기 위한 $k$값..
AtCoder Beginner Contest 136 AtCoder Beginner Contest 136 - AtCoder AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online. atcoder.jp 굉장히 오랜만에 참여한 AtCoder이었다. 역시 AtCoder답게 문제는 전반적으로 깔끔하고 쉬웠다. 하지만, D번에서 Solve속도가 굉장히 지체되 레이팅이 많이 오르지 않아 조금 아쉬웠던 Round이다. A. Trasfer 1번 병은 B리터가 담겨있는 용량 A리터의 병이고 2번 병은 C리터가 담겨있는 병이다. 이때, 2번 병의 물을 1번 병에 최대한..