Giter VIP home page Giter VIP logo

cpp_module_09's People

Contributors

jinmugo avatar

Watchers

 avatar

cpp_module_09's Issues

ex02 Check List

be able to use a positive integer sequence as argument 항상 양수 integer만 받을 수 있음.

merge-insert sort를 사용해야함. 조금 더 정확하게는 Ford-Johnson algorithm을 사용해야한다.

2가지의 다른 Container를 사용해야한다. 나는 [] operator로 접근할 수 있는 vector와 deque를 사용할까 고민중.

It is strongly advised to implement your algorithm for each container and thus to avoid using a generic function.이게 무슨 뜻일까.
template을 활용한 generic(포괄적인)함수를 사용하지 말라!

ex01 check list

arg들은 모두 10보다 작아야 한다. 결과는 이 규칙을 고려하지 않는다.

사칙연산들만을 고려해야한다.

  • 사칙연산말고 들어오면 에러처리.

괄호나 소수를 핸들할 필요없다.

  • 소수나 괄호가 나오면 에러로 처리하자.
    음수는 -9가 들어오면 "-"와 9로 처리하자. 음수는 음수로 볼 수 없기 때문에 그렇게 처리한다.

인자들이 붙어서 들어올때는 괜찮은 걸로 판단. 하지만 내가 정한 인자들말고 들어온다면 에러.

"0123456789+-*/ 공백" 이외의 문자가 들어오면 에러처리.

Çheck list

  • data.csv

    • .csv형식인지 확인
    • , 이 두개인지 확인.
    • , 사이에 숫자가 아닌 다른 것들이 있는지 확인
    • 첫번째 필드가 yyyy-mm-dd 형식인지 확인.
    • 두번째 필드가 모두 숫자인지 확인.
    • 모두 확인되었으면 map에 저장.
  • input.txt
    - [ ] date | value가 존재하는지 확인. 오타나 다른 형식이면 error
    - [ ] 첫번째 필드가 yyyy-mm-dd 형식인지 확인.
    - [ ] 두번째 필드가

Be careful to use the lower date and not the upper one. 이거 처리할 때 연산자 오버로딩해서 처리.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.