개발 일지
-
백준 7569 C++ 풀이카테고리 없음 2018. 11. 12. 00:40
2차원으로 해도 충분할 걸 3차원으로 하다니 좀 의미없.. #include #include #include #include #include #include using namespace std; int ripenState[101][101][101]; int m, n, h; int totalSpace; int totalUnripenTomato; int totalRipenTomato; int delta [6][3] = {{1, 0 ,0}, {-1 , 0 , 0}, {0, -1 , 0}, {0, 1, 0}, {0, 0, -1}, {0, 0, 1}}; bool isInRange(int x, int y, int z){ return 0 n >> h; totalSpace = m * n * h; queue ..
-
백준 1766 C++ 풀이카테고리 없음 2018. 11. 12. 00:03
#include #include #include #include #include #include using namespace std; int degree[32001]; vector buffer[32001]; int main(){ cin.tie(NULL); ios::sync_with_stdio(false); int n, m; cin >> n >> m; for (auto i =0; i> from >> to; buffer[from-1].push_back(to-1); degree[to-1]++; } priority_queue q; for (auto i =0; i
-
백준 5639 C++ 풀이카테고리 없음 2018. 11. 11. 17:22
#include #include #include #include using namespace std; int buffer[10001]; // endIndex dos not include void printPostFix(int startIndex, int endIndex){ if (startIndex >= endIndex) return; int root = buffer[startIndex]; int startOfRightSubTree = startIndex + 1; for (startOfRightSubTree = startIndex + 1; startOfRightSubTree buf..
-
안드로이드 카카오 SDK 보안 취약점 (교차 앱 스크립팅) 경고 대응방안안드로이드 2018. 11. 5. 16:41
서비스하는 안드로이드 앱의 플레이스토어 콘솔에서 다음과 같은 경고가 떴습니다. 보안 알림교차 앱 스크립팅에 취약한 WebView가 앱에 포함되어 있습니다. 자세한 내용은 Google 고객센터 도움말을 확인하세요.취약한 클래스:com.kakao.auth.authorization.authcode.KakaoWebViewActivity->initUi문제 해결 기한: 02/06/2019 교차 앱 스크립팅 공격에 취약한 클래스가 카카오 모듈 속에 있으므로 개선하라는 명령입니다.데드라인까지 개선하지 않을 경우 해당 앱의 업데이트가 거절된다는 경고 또한 있었습니다. 찾아본 결과 카카오톡에서 취약점을 픽스한 버전을 이미 배포한 상태였습니다. https://devtalk.kakao.com/t/sdk/61319 안녕하세요,..