책뿌수기 - 기초가 든든한 데이터 베이스 2
인용하는 그림은 다양한 곳에서 가져왔음을 밝힙니다 Ch 2. 데이터 모델 Section 1. 데이터 모델 1.1 데이터 모델의 개념 데이터베이스의 구조를 단순화, 추상화하여 체계적으로 표현하는데 사용되는 도구 1.2 데이터 모델의 구성요소 ...
인용하는 그림은 다양한 곳에서 가져왔음을 밝힙니다 Ch 2. 데이터 모델 Section 1. 데이터 모델 1.1 데이터 모델의 개념 데이터베이스의 구조를 단순화, 추상화하여 체계적으로 표현하는데 사용되는 도구 1.2 데이터 모델의 구성요소 ...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 #include <iostream> #pragma warning(disable:4996) using namespace std; int main(void) { int num, tmp, cnt = 0; cin.tie(NULL); ios_base::sync_with_stdio(false); #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif cin >> num; tmp = num; do { tmp = ((tmp % 10) * 10) + (tmp%10 + tmp/10)%10; cnt++; } while (tmp != num); cout << cnt; #ifndef ONLINE_JUDGE fclose(stdin); fclose(stdout); #endif return 0; }
제목 재밌네 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 #include <iostream> #include <vector> #include <algorithm> #include <iomanip> #pragma warning(disable:4996) using namespace std; int main(void) { int num, casenum, score, cnt; double sum, avg; vector<int> arr; vector<int>::iterator it; cin.tie(NULL); ios_base::sync_with_stdio(false); #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif cin >> num; for (int i = 0; i < num; i++) { cin >> casenum; sum = 0; arr.clear(); avg = 0; cnt = 0; for (int j = 0; j < casenum; j++) { cin >> score; arr.push_back(score); sum += score; } avg = sum / casenum; for (it = arr.begin(); it != arr.end(); it++) { if ((*it) > avg) cnt++; } cout << fixed << setprecision(3); cout << (double)cnt/casenum*100 << "%\n"; } #ifndef ONLINE_JUDGE fclose(stdin); fclose(stdout); #endif return 0; }
요즘 다시 시작한 알고리즘 공부.. 쉬운거 부터 풀어 봅시다 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 #include <iostream> #include <vector> #include <algorithm> #include <iomanip> #pragma warning(disable:4996) using namespace std; int main(void) { int num, max, score; double sum = 0; vector<int> arr; vector<int>::iterator it; cin.tie(NULL); ios_base::sync_with_stdio(false); #ifndef ONLINE_JUDGE freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); #endif cin >> num; for (int i = 0; i < num; i++) { cin >> score; arr.push_back(score); } max = *max_element(arr.begin(), arr.end()); for (it = arr.begin(); it != arr.end(); it++) { sum += (*it) / (double)max * 100; } cout << fixed << setprecision(2); cout << sum / num; #ifndef ONLINE_JUDGE fclose(stdin); fclose(stdout); #endif return 0; }
인용하는 그림은 다양한 곳에서 가져왔음을 밝힙니다 Ch 1. DB 시스템 Section 1. DB 1.1 데이터와 데이터 베이스 개념 DB = 필요한 데이터를 모아 놓은 것 1.2 데이터와 정보 데이터 : 관찰하거나 측정하여 기술하는 가공되지 않은 사실이나 값 정보 : 의미 있고 쓸모 있는 내용으로 가공한 데이터 1.3 DB의 정의와 특징 ...
오랜~만에 소개팅 나갑니다. 소개팅 나가려고하니 괜히 또 사투리가 신경쓰이네요. 그거 알죠? 괜히 신경쓰면 말하는거 부자연스러워지는거? 로봇되는건 아니겠죠? (괜찮아요? 많이 놀랬죠?) ...
향상된 프로그램 가능한 인터럽트 컨트롤러 CPU가 하나라면 마스터 PIC의 출력선을 곧바로 CPU의 INTR핀으로 연결하면 된다. 그렇지만 2개 이상이 된다면 복잡한 PIC를 필요로 한다. ...
개요 인터럽트는 프로세서가 실행하는 명령어의 순서를 바꾸는 사건으로 정의한다. 이런 사건은 CPU의 내·외부에서 하드웨어적인 회로가 발생하는 전기적인 신호에 해당하다. ...
http://malc0de.com/database/ 샘플 다운하기 가장 편함 https://www.malwares.com/ 다운은 안되지만 검색하기 용이
원룸에 책걸상이 생겼습니다~ 짝짝짝 이제 집에서도 작업좀 할 수 있겠네요 근데 지금 쓰고있는 노트북이 이제좀 느려져서 좋은 걸로 하나 사야될것 같습니다. ryzen mobile에 15인치 노트북 사고 싶은데, 에이서 스위프트3 보니까 좋기는 한데 베젤이 두꺼워서 좀 더 기다렸다가 베젤얇은거 나오면 사려고 합니다. ...