All Projects → deniscostadsc → playground

deniscostadsc / playground

Licence: MIT license
A place to play programming

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
shell
77523 projects
c
50402 projects - #5 most used programming language
Dockerfile
14818 projects
clojure
4091 projects

Projects that are alternatives of or similar to playground

checktestdata
checks integrity of test data in programming contests like the ACM ICPC
Stars: ✭ 19 (-9.52%)
Mutual labels:  icpc, programming-contests
Usaco
General Resources for Competitive Programming
Stars: ✭ 1,152 (+5385.71%)
Mutual labels:  data-structure, programming-contests
problem-solving
A platform where you can learn about algorithms and data structures. A heaven for competitive programmers. Learn here: https://reyadussalahin.github.io/problem-solving/
Stars: ✭ 33 (+57.14%)
Mutual labels:  spoj, icpc
GoogleCodeJam-2016
🏃 Python Solutions of All 26 Problems of GCJ 2016
Stars: ✭ 18 (-14.29%)
Mutual labels:  programming-contests, google-code-jam
BAPCtools
Tools for developing ICPC-style programming contest problems.
Stars: ✭ 36 (+71.43%)
Mutual labels:  icpc, programming-contests
FacebookHackerCup-2019
🏃 Python Solutions of All 22 Problems in FHC 2019
Stars: ✭ 15 (-28.57%)
Mutual labels:  programming-contests, facebook-hacker-cup
Awesome Competitive Programming
💎 A curated list of awesome Competitive Programming, Algorithm and Data Structure resources
Stars: ✭ 9,119 (+43323.81%)
Mutual labels:  data-structure, programming-contests
Usaco Guide
A free collection of curated, high-quality resources to take you from Bronze to Platinum and beyond.
Stars: ✭ 439 (+1990.48%)
Mutual labels:  data-structure, programming-contests
Competitive Coding
Contains Solution for all type of Problems of Competitive Programming. Updates Frequently as any problem is solved.
Stars: ✭ 16 (-23.81%)
Mutual labels:  project-euler, spoj
solutions
Solutions to online programming problems
Stars: ✭ 36 (+71.43%)
Mutual labels:  project-euler, spoj
uoj-potigol
Soluções dos problemas do Beecrowd usando a linguagem Potigol
Stars: ✭ 45 (+114.29%)
Mutual labels:  uri-online-judge, beecrowd
CPTH
🌟 Competitive Programming Template Headers | With documentation, CI tests and Codecov
Stars: ✭ 23 (+9.52%)
Mutual labels:  data-structure, icpc
uri-online-solutions
📦 A box with some algorithms, tagged by websites, categories & languages.
Stars: ✭ 16 (-23.81%)
Mutual labels:  uri-online-judge, beecrowd
scoreboard
Online judge scoreboard parser
Stars: ✭ 23 (+9.52%)
Mutual labels:  icpc, programming-contests
Algorithm-Implementations
Lots of algorithm's & their implementations that have been compiled from a variety of locations.
Stars: ✭ 15 (-28.57%)
Mutual labels:  project-euler, programming-contests
URI-Online-Judge-Solutions
Repositório de soluções de exercícios do URI Online Judge.
Stars: ✭ 263 (+1152.38%)
Mutual labels:  uri-online-judge, beecrowd
GoogleCodeJam-2017
🏃 Python Solutions of All 27 Probelms in GCJ 2017
Stars: ✭ 53 (+152.38%)
Mutual labels:  programming-contests, google-code-jam
euler
A package to offer R solutions to Project Euler problems
Stars: ✭ 21 (+0%)
Mutual labels:  project-euler
algorithms
🎈My notebook and solutions for 300+ problems that I solved during practice for ACM-ICPC
Stars: ✭ 26 (+23.81%)
Mutual labels:  icpc
lkm-sandbox
Collection of Linux Kernel Modules and PoC to discover, learn and practice Linux Kernel Development
Stars: ✭ 36 (+71.43%)
Mutual labels:  study

Playground - A place to play programming.

CI

In this repository, you'll see my solutions for programming/security challenges/contest sites. Here you can find my solutions for:

Project structure

The following tasks are available in the Makefile:

make clean  # remove files created by the run task
make languages  # show numbers of solutions in different languages per folder
make lint [LINTS='language extensions']  # check lint for all solutions if no LINTS is passed
make lint-fix [LINTS='language extensions']  # format all code if no LINTS is passed
make new-problem FOLDER=path/to/create LANGUAGE='language extension'  # create solution template
make run [FOLDER=path/to/run] [LANGUAGES='language extensions']  # run solutions
make wrong  # show all solutions that are not complete yet

Some of these tasks run scripts on the scripts folder and Docker containers from the .docker folder. Needless to say, these tasks require Docker and Docker-compose.

If you are starting your repo to store your solutions for programming competition from the scratch, you can use the same structure I have used. You'll need to copy the following folders and files:

  • .clang-format
  • .docker/
  • .flake8
  • .github
  • .isort.cfg
  • Makefile
  • editor-config
  • scripts/

The scripts/CI assume a few things:

  • You use a folder for each problem;
  • Each problem folder has a problem.md file. CI scripts use this file to search for problems;
  • Problem folders may have an in.txt file. That file holds the input test for that problem. Some problems don't have input;
  • Each problem folder has an out.txt file. That file holds expected output to test (using diff) output generated by your program;
  • All scripts ignore solution whose the folder holds a file name WRONG. You can create this flag file for solutions that aren't completed yet.

Bellow, you can see an example of a problem folder structure:

$ tree solutions/beecrowd/
solutions/beecrowd/
├── 1000
│   ├── 1000.c
│   ├── 1000.clj
│   ├── 1000.cpp
│   ├── 1000.cs
│   ├── 1000.dart
│   ├── 1000.go
│   ├── 1000.hs
│   ├── 1000.java
│   ├── 1000.js
│   ├── 1000.kt
│   ├── 1000.lua
│   ├── 1000.ml
│   ├── 1000.pas
│   ├── 1000.php
│   ├── 1000.py
│   ├── 1000.r
│   ├── 1000.rb
│   ├── 1000.rs
│   ├── 1000.scala
│   ├── imgs
│   │   └── UOJ_1000.png
│   ├── out.txt
│   ├── problem.md
│   └── tags.txt
...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].