Giter Club home page Giter Club logo

competitiveprogramming's Introduction

Competitive Programming

It's never too late :v.

Here I will keep track of all the problems I've done, or I'm doing. In the first line of the file you will find the source of the problem, the verdict, the execution time and the memory used. The tag @Me or @Team refers to a code made by me or with a team, respectively.

The verdict that can be:

  • AC = Accepted
  • WA = Wrong Answer
  • TLE = Time Limit Exceeded
  • MLE = Memory Limit Exceeded
  • RTE = Run Time Error
  • CE = Compile Error
  • PE = Presentation Error
  • OT = Output Limit
  • IP = I'm currently working on it

For example, for a c++ code:

#/a/path/to/a/file.cpp
/*
 * Problem: https://codeforces.com/gym/105079/problem/E
 * V: AC, ET: 100ms, M:500KB
 * @Team
*/

This code could not have test or a super readable code because it's not the point of the competitions. For a better code(I hope) you can see my repo of katas. Anyway, sometimes I will try to make a more robust and readable code.

How to run code

  1. Compile:
        g++ [file] -o o.o
  2. Execute with input file:
        cat [input_file] | ./o.o
  3. Compare with expected output:
       diff exp out 

Also it is possible:

    g++ [file] -o o.o && cat imp | ./o.o | diff exp -

competitiveprogramming's People

Contributors

thecomputercat avatar

Watchers

 avatar

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.