전체 글
-
[BOJ] 10828 스택 / C++공부/C, C++ 2023. 1. 3. 19:46
https://www.acmicpc.net/problem/10828 10828번: 스택 첫째 줄에 주어지는 명령의 수 N (1 ≤ N ≤ 10,000)이 주어진다. 둘째 줄부터 N개의 줄에는 명령이 하나씩 주어진다. 주어지는 정수는 1보다 크거나 같고, 100,000보다 작거나 같다. 문제에 나와있지 www.acmicpc.net #include #include #define MAX_CAPACITY10000 #define EMPTY0 #define FULLMAX_CAPACITY using namespace std; int N; // 명령의 수 (1 N; for(int i=0; i> cmd; if (cmd == "push") { cin >> num; push(num); } else if (cmd == "po..
-
-
Django vs Flask공부/flask 2022. 11. 24. 00:21
1. Django https://www.djangoproject.com/ Django The web framework for perfectionists with deadlines. www.djangoproject.com 풀스택 프레임워크 MVC 기반 패턴 개발 템플릿 형태로 기능을 제공하므로 비교적 자유도가 낮음 프로젝트 개발에 적합 2. Flask https://flask.palletsprojects.com/en/2.2.x/ Welcome to Flask — Flask Documentation (2.2.x) flask.palletsprojects.com 마이크로 프레임워크 지정한 라이브러리와 패키지만 설치되어있으므로 자유도가 높음 서비스 제공 시 적합
-
MySQL AUTO_INCREMENT공부/MySQL 2022. 11. 20. 01:31
https://www.w3schools.com/mysql/mysql_autoincrement.asp MySQL AUTO INCREMENT a Field W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more. www.w3schools.com 중간에 record를 삭제하는 경우에도 AUTO_INCREMENT로 설정한 column은 재정렬/초기화 되지 않는다
-
MySQL - Node.js 연동 에러 해결공부/MySQL 2022. 11. 14. 23:24
에러 메시지: Client does not support authentication protocol requested by server; consider upgrading MySQL client code: 'ER_NOT_SUPPORTED_AUTH_MODE', errno: 1251, sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client', sqlState: '08004', fatal: true 해결 1) MySQL 접속, 아래의 쿼리 실행 select Host,User,plugin,authentication_string FROM mysql.user; 2) p..