SSENI's
search
sseni
말하는 감자에서 자라기
Today
Yesterday
2021.11.24~ Node.js & React.js
2021. 12. 9. 15:55보호 발행된 글이에요. 비밀번호를 입력하시면 글의 내용을 확인하실 수 있어요.
password
전체 글 (290)
교재: 프로젝트로 배우는 자바 웹 프로그래밍 (부교재 - JSP 웹 프로그래밍) [Web Server Programming] HTML은 가르치지 않음 과제로 나오는 것들 보고 공부, tag 정도만 알아둘 것 # 강의 목표 Applet? JVM? Servlet? Servlet : Server Side에서 동작하는 자바 프로그램 Applet : APP 에서 동작하는 프로그램 JVM : java -> Bytecode 생성하도록 동작 - 웹에 대한 기본 개념, HTML 기초 - Servlet 의 원리와 JSP 개발 방법 및 Java Beans 에 대해 다룸 - JDBC와 데이터베이스 사용법과 함께 JSP 에서 DB를 활용하는 방법 # 강의 방법 1. JSP 의 개념과 문법에 대해 설명 (40%) 2. Eclip..
L = int(input()) L_list = [0] + sorted(list(map(int,input().split()))) N = int(input()) start = 0 if N in L_list: print(0) else: for i in L_list: if N > i: start = i + 1 else: end = i - 1 break print(end - start + (end - N) * (N - start))
#include #include #include using namespace std; int n, x; priority_queue Q1; // 양수 priority_queue Q2; // 음수 int main() { ios_base::sync_with_stdio(0); cin.tie(0); cin >> n; for (int i = 0; i > x; if (x == 0) { if (Q1.empty() && Q2.empty()) cout
#CUPS(Common UNIX Printing System) - 프린터, 인쇄 요청 및 인쇄 대기열 관리 - IPP(Internet Printing Protocol) 사용 ##CUPS 명령줄 유틸리티 - cancel: 인쇄 요청 취소 - cuspaccept: 명명된 대상에 대한 인쇄 요청의 대기열 기법을 사용으로 설정 - cuspdisable: 명명된 프린터 또는 클래스를 사용 안함으로 설정 - cupsenable: 명명된 프린터 또는 클래스를 사용으로 설정 - cupsreject: 명명된 대상에 대한 인쇄 요청의 대기열 거부 - lp: 인쇄 요청 제출 (/usr/sbin/lpc) - lpadmin: 프린터 또는 클래스 구성 설정 또는 변경 - lpc: CUPS 인쇄 및 클래스 대기열에 대한 제한된 제..
#include #include #include using namespace std; int n, m, h; int map[102][102][102]; int dz[6] = { 0,0,0 ,0,-1,1 }; int dx[6] = { 0,0 ,1,-1,0,0 }; int dy[6] = { -1,1,0,0,0,0 }; int d[102][102][102]; int day = 0; int main() { ios::sync_with_stdio(NULL); cin.tie(0); cin >> m >> n >> h; queue Q; for (int i = 0; i > map[i][..
P. 97 / LP. subscriber 구독자 subsciption 구독 renew 갱신하다 comment 비평 reply to 응답하다 management 경영진 senior accountaut 수석 회계사 suit for ~에 알맞은 accomplishment 업적 stand out 두드러지다 resume 이력서 be qualified for ~에 자격이 있다 an opening(=vancancy) 공석 qualifications for ~에 대한 자격 applicant 지원자, 신청자 candidate 후보자, 지원자 a requirement + of/for ~의 필요조건 highly 매우, 대단히 meet one's needs ~의 욕구를 만족시키다 highly + competent/recomm..
#include #include using namespace std; int m, n, x, y; int g(int a, int b) { if (a % b == 0) return b; else return g(b, a % b); } int l(int a, int b) { return (a * b) / g(a, b); } int main() { ios_base::sync_with_stdio(0); cin.tie(0), cout.tie(0); int t; cin >> t; for (int i = 0; i > m >> n >> x >> y; int maxY = l(m, n); while (1) { if (x > maxY || (x - 1) % n + 1 == y) break; x..
#include #include #include #include #include using namespace std; int arr[30][30]; bool isVisit[30][30]; int dx[4] = { 0,0,1,-1 }; int dy[4] = { -1,1,0,0 }; int n, cnt = 0; vector ans; queue q; int main() { cin >> n; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { scanf_s("%1d", &arr[i][j]); } } for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (arr[i][j] == 1 && isVisit..
[The Linux Boot Process] ##BIOS Basic Input/Output System Special Firmware Primary purpose: find and execute the boot loader Performs the POST - Power On Self Test Contains a list of bootable devices. such as Hard disks, DBD drive, USB devices and etc ##Boot Loaders LILO(Linux Loader) - older GRUB(Grand Unified Bootloader) - Replaced LILO ##Initial RAM Disk initrd(initial RAM disk) Temporary fil..
#include #include #include using namespace std; string s[101]; int dis[101][101]; bool isVisit[101][101]; queue Q; int n, m; int dx[4] = { 1,0,-1,0 }; int dy[4] = { 0,1,0,-1 }; int main() { ios::sync_with_stdio(0); cin.tie(0), cout.tie(0); cin >> n >> m; for (int i = 0; i > s[i]; dis[0][0] = 1; Q.push({ 0,0 }); isVisit[0][0] = true; while (!Q.empty()) { pair tmp = Q.front(); Q.pop..
#include #include using namespace std; const int MAX = 64; int n, arr[MAX][MAX]; void f(int n, int x, int y) { if (n == 1) { cout
#include #include #include using namespace std; int map[101][101]; bool chk[101]; int main() { int n, m; cin >> n >> m; int input1; int input2; for (int i = 0; i > input1 >> input2; map[input1][input2] = 1; map[input2][input1] = 1; } queue q; int sum = 0; int result = 999999; int people = 0; for (int i = 1; i
#include using namespace std; int n, k; int arr[11], cnt = 0; int main() { cin >> n >> k; for (int i = 0; i > arr[i]; } for (int i = n - 1; k > 0;) { if (arr[i] > k) i--; if (arr[i]
1. 물리 주소(MAC 주소)로 IP 주소를 찾는 프로토콜 더보기 답: RARP(Reverse Address Resolution Protocol; 역순 주소 결정 프로토콜) 2. IP주소를 MAC주소로 변환하는 프로토콜 : ARP(Address Resolution Protocol) 3. 데이터베이스 설계 절차 데이터베이스 파일의 '저장' 구조 및 접근 경로를 결정하고, 결과로 테이블 정의서, 명세서 작성되는 단계 E-R 다이어그램, 트랜잭션 모델링을 병행적으로 수행하는 단계 테이블을 설계하고 정규화 과정을 거치는 단계 더보기 답: 물리, 개념, 논리 4. 웹 서비스명, 제공 위치, 메시지 포맷, 프로토콜 정보 등 웹 서비스에 대한 상세 정보가 기술된 XML 형식으로 구현되어 있는 언어 더보기 답: WSD..
#include #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n, m; cin >> n >> m; string s; cin >> s; int ans = 0; for (int i = 0; i < m; i++) { int k = 0; if (s[i] == 'O') continue; else { while (s[i + 1] == 'O' && s[i + 2] == 'I') { k++; if (k == n) { k--; ans++; } i += 2; } k = 0; } } cout
# 분류 from pyspark.ml.classification import DecisionTreeClassifier from pyspark.ml.evaluation import BinaryClassificationEvaluator from pyspark.ml.feature import StringIndexer from pyspark.ml.feature import VectorAssembler from pyspark.ml.pipeline import Pipeline from pyspark.sql import SparkSession from pyspark.sql import functions spark = SparkSession \ .builder \ .appName("classfication_sample..