![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FHZaD3%2FbtrfUOx8ELo%2FfRuGM2hz6jrnS8IpM7Xco0%2Fimg.png)
https://www.hackerrank.com/challenges/bon-appetit/problem Bill Division | HackerRank Determine whether or not Brian overcharged Anna for their split bill. www.hackerrank.com Algorithms > Implementation 배열 bill과 Anna가 먹지 않은 것의 인덱스, Brian이 Anna에게 청구한 비용이 주어지면 Brian이 청구한 비용이 실제 Anna가 지불해야 할 비용이 맞는지 체크한다. 만약 맞으면 "Bon Appetit"을, 틀리면 Brian이 Anna에게 돌려줘야 할 금액을 출력한다. 코드 void bonAppetit(int bill_count, in..
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fo941X%2Fbtrf1iqHge9%2Fli7cbgE3II02nmL4kfkmkk%2Fimg.png)
https://www.hackerrank.com/challenges/countingsort1/problem Counting Sort 1 | HackerRank Count the number of times each value appears. www.hackerrank.com Algorithms > Sorting 정수 리스트가 주어지면 각 값이 등장하는 횟수를 카운트하고 반환한다. 코드 int* countingSort(int arr_count, int* arr, int* result_count) { *result_count = 100; int *res = malloc(100 * sizeof(int)); for (int i = 0; i < 100; i++) res[i] = 0; for (int i = 0; ..
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FccDCgh%2FbtrfXyOk0X5%2F7r08w3AzeCoFhVzIzvoTxK%2Fimg.png)
https://webhacking.kr/challenge/web-08/ Challenge 8 webhacking.kr 초기 화면이다. 소스코드를 살펴봐야 할 것 같다.
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbrvM2d%2FbtrfRC5Zqcf%2F8WJIcNSkcfKPlbxOqtTZQK%2Fimg.png)
https://webhacking.kr/challenge/web-07/ Challenge 7 webhacking.kr 초기 화면이다. auth를 눌러보았다. 접근이 되지 않는다. 소스코드를 살펴보자.