Coder Social home page Coder Social logo

templates-for-competitive-programming's Introduction

Templates-for-Competitive-Programming

由CUST现役队员维护,旨在学习算法中接触更接地气的代码实现,在比赛中板子都带上(可以不用但得有.233)

代码特性

  • 优先保证代码的简洁性和可读性,在此基础上追求常数的优化。
  • 可以选择用 namespace 封装,也可以用 struct 封装。
  • 可以保留个人的码风,但是尽可能给每个函数每个变量注释,让读的人一看就明白。
  • 一些模板题或者黑科技可以加入,写明题号题意链接。
  • 代码符合 C++11 标准,一些更高级的特性能避免就避免一下,毕竟 hduoj 里 ce 算罚时。
  • 要不断的更新,如果发现某个代码有 bug 要及时提出, 提交pr。不要怕麻烦!
  • 尽可能分析一下时空复杂度,提交时候最好带上时空复杂度分析。即一份代码上面有一些分析,然后是 code。

PDF 生成

得先有内容!

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.