Giter Club home page Giter Club logo

bcs-contest's People

Contributors

lubien avatar mateusjatenee avatar ryukinix avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bcs-contest's Issues

Framework proposal

Proposal

Automate and organize problem solving routines within this repo.

Progress

  • Basic Folder Structure
  • Add test cases
  • CI
  • Add 2015 contest
  • Add 2014 contest
  • Add 2013 contest
  • Add 2012 contest
  • Add 2011 contest
  • Add 2010 contest
  • Add 2009 contest
  • Add 2008 contest
  • Add 2007 contest
  • Add 2006 contest
  • Add 2005 contest
  • Add 2004 contest
  • Add 2003 contest
  • Add 2002 contest
  • Add 2001 contest
  • Add 2000 contest
  • Add 1999 contest
  • Add 1998 contest
  • Add 1997 contest
  • Add 1996 contest

Folder structure

[ime] tree                                                                                                                                                       
.
├── 2015
├── 2016
│   ├── Main
│   │   └── A
│   │       ├── C
│   │       │   └── solution_1.c
│   │       ├── Python
│   │       │   └── solution_1.py
│   │       └── __TESTS__
│   │           ├── A_1.in
│   │           ├── A_1.out
│   │           ├── A_2.in
│   │           └── A_2.out
│   └── Warming
│       └── A
│           └── Python
│               └── solution_1.py
├── add.py
├── ci.py
└── test.py

11 directories, 9 files

The Marathon

IME's programming marathon is composed of a Warming and the Main event. Both events consist of Problems named with letters.

A Problem

Problems are letter identified questions that must be solved using a programming language. First, the solution must read from stdin then output to stdou the solution. All test cases are provided in IME's website.

Files

add.py

Bootstrap a problem folder. Nothing so important.

ci.py

All executions involving our CI server

test.py

As a problem solver, I can run a script that tests if my solution is right based on the provided test cases. If passes, I receive a OK message. If fails, I receive the wrongly outputed values campared to the expected values.

Sample .in file

4 4
1 2 2
2 3 1
2 4 10
3 4 6

Sample .out file

12

Other possible features

  • Speed comparison

Conclusion

Make it easy for solvers solve.

Rename repo?

Since this repo mostly like to have the structure to work with SBC's marathon, maybe a more descriptive name should be better.

A Maratona de Programação é um evento da Sociedade Brasileira de Computação que existe desde o ano de 1996. A Maratona nasceu das competições regionais classificatórias para as finais mundiais do concurso de programação da ACM, o ACM International Collegiate Programming Contest, e é parte da regional sulamericana do concurso. Neste ano ocorre a 21a. edição da Maratona.

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.