[HackerRank] Encryption
출처 : https://www.hackerrank.com/challenges/encryption/problem #include using namespace std; string encryption(string s) {string ans;int L = s.length(), row = sqrt(L), col = row + 1, it = 0; if (row*row == L) col -= 1;if (row*col < L) row += 1;char arr[10][10]; memset(arr, 0, sizeof(arr));for (int i = 0; i < row; i++) {for (int j = 0; j < col && it
알고리즘/기타
2018. 9. 30. 17:02
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 팁
- 입출력
- 2018 카카오 블라인드 채용
- 삼성
- 알고리즘
- scanf
- 17837
- 17142
- string
- 2018 KAKAO BLIND RECRUITMENT
- 17779
- 역량 테스트
- DP
- 17143
- DFS
- 백준
- 연구소 3
- 17140
- 시간 복잡도
- 트렌드
- 17144
- 미세먼지 안녕!
- hackerrank
- 새로운 게임 2
- STL
- 이차원 배열과 연산
- 게리맨더링 2
- boj
- SWEA
- SW Expert Academy
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함