[BOJ 10935] BASE64 인코딩

View as PDF

Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 256M

Problem types
Allowed languages
Assembly, Awk, C, C++, Java, Pascal, Perl, Python, Sed, Text

문자열 S가 주어졌을 때, S를 BASE64 인코딩해 출력하는 프로그램을 작성하시오.

입력 형식

첫째 줄에 문자열 S가 주어진다. S는 알파벳 대문자와 소문자, 그리고 숫자로만 이루어져 있으며, 길이는 최대 50이다.

출력 형식

첫째 줄에 S를 BASE64로 인코딩한 값을 출력한다.

예제 입력

Baekjoon

예제 출력

QmFla2pvb24=

Comments

There are no comments at the moment.