내일배움캠프(Unity)

내일배움캠프 게임개발(Unity) 사전캠프 11일차 TIL

빵어 2023. 10. 16. 20:42

1. 알고리즘

https://ppang-game.tistory.com/86

 

백준 10815번 숫자 카드 C++

#include #include #include using namespace std; //https://www.acmicpc.net/problem/10815 bool MatchCards(int start, int end, int target, vector& sanggeunCards) { while (start > n; vector sanggeunCards(n); for (int i = 0; i < n; ++i) cin >> sanggeunCards[i];

ppang-game.tistory.com

풀었던 이분탐색 문제를 오랜시간 째려봤다..

이제야 이분탐색에 대해 알겠다. 좀 더 풀어봐야할듯

 

 

 

 

역대급 공부하기 싫었던 날~~

정신차리고 알고리즘이라도 풀었다