ErikGartner / hashcode

Google Hash Code repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hash Code

Our template and solutions starting from 2019

Results

Strategy

  1. Read problem statement
  2. Add in-files to data. Make sure they end .in
  3. Write solutions/utils/parser.py
    1. parse_in(). Should create fast data structures for the problem.
    2. write_ans(). Should create valid answer file.
  4. Write a basic strategy in solutions/strategies/default.py
  5. Submit first score to Google for verification
  6. Implement
  • parse_ans() in solutions/utils/parser.py to parse answers
  • Scoring in solutions/score.py by implementing do_scoring()
  • Advanced strategies in solutions/strategies/

Team

About

Google Hash Code repository


Languages

Language:Python 100.0%