[C++] Build ATM system #include #include #include #include #include using namespace std; class my_Bank { public: my_Bank () = default; my_Bank (string _PIN) : PIN(_PIN) {}; my_Bank (const my_Bank& _my_Bank) : PIN(_my_Bank.PIN) {}; my_Bank (const my_Bank&& _my_Bank) : PIN(std::move(_my_Bank.PIN)) {}; ~my_Bank() = default; std::map & operator[] (int idx){ return Accounts[idx]; } friend std::ostream& operator
썸네일 [C++] Decide possibility and Generate route for Cleaning Robot (BaekJoon_17145) [Uncompleted] Reference https://www.acmicpc.net/problem/17145 17145번: 청소 로봇 당신의 물류 창고가 너무 지저분해서 청소를 하려고 청소 로봇을 구입했다. 물류 창고는 테이블 (그리드) 모양이며 총 R행 C열로 구성되어있다. 각 행 각 열에는 엄청나게 거대한 물류 선반이 있 www.acmicpc.net PROBLEM Albert’s warehouse is rectangle-shaped, and it consists of R rows and C columns; each cell contains a massive shelf that can only be cleaned by a robot. The example figure below shows a table with 4 rows ..
썸네일 [Data Anaylsis] Fill the blanks in data with Spline Interpolation & Python INTRODUCTION If we missed some elements of data like Fig. 1, how can we fill the blanks ? There're a lot of method to fill them. It's matter of ' Data Science '. Let's me introduce one method, The Spline Interpolation (Cubic). For who doesn't familiar with ' Spline Interpolation ' method, Wikipedia tells you the infomation with link below. https://en.wikipedia.org/wiki/Spline_interpolation Splin..
썸네일 [C++] How can we save time to flatten the Complex Terrain in 'MINECRAFT' (BackJoon_18111) INTRODUCTION The Website ' BACKJOON ' has lots of interesting algorithm problems. Although I'm not a software engineer for website or algorithm, but solving algorithm problems makes me deeply think about how to go step by step and optimize. It's similar with mathematics or physics. But, be careful ! This post contains code many people said that this kinds of approach is wrong. (But I never think..
썸네일 [MATLAB] Calculate Velocity & Displacement by Numerical Integral from IMU data and Save to SD card INTRODUCTION If you have used Drone or Rocket, you probably familiar with word ' IMU ' short for ' Inertial Measurement Unit '. There are 3, 6, 9 axis IMU, but I used 6 axis one. IMU is consist of 3 - Accelerometers and 3 - Angular velocity meters, so we can obtain 3 Accelerations, 3 Angular Velocities of X,Y,Z Direction. (Direction is notated on Unit) If you don't want conceptual explanation an..
썸네일 [Arduino] Build a Launch System with Arduino 7 segment (2 digit) timer and HC-06 INTRODUCTION Good Rocket needs good Launch System and Stand. Good Launch System should assure safety and stablity. That means whenever you find risks, should turn off system and solve that issues. So even though I pulled the trigger, I can turn it off with my bluetooth control. Building Rocket Launch System with Arduino Uno, 7 Segment 2 digit (Cathode Type), Buzzer, HC06 Bluetooth Module. Two 4...