Skip to content

vikds/hackercup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Hacker Cup just for fun.

Just having fun...

https://www.facebook.com/codingcompetitions/hacker-cup/

Certificate 2022

certificate

Certificate

Certificate 2021

certificate

Certificate

Online Qualifications 2022

Score: 50/100 points

Rank: 1274th out of 12477 (total participants 27603)

Online Qualifications 2021

Score: 43/100 points

Rank: 4037th out of 12692 (total participants 34586)

Round 1 2021

Score: 28/100 points

Rank: 4174th out of 6789 (total participants 12692)

Round 2 2021

Score: 12/100 points

Rank: 2572th out of 2825 (total participants 6789)

C++ requirements

  1. cmake >= 2.7
  2. C++17

Build C++ code

$ cd qualification
$ mkdir build
$ cd build
$ cmake ..
...
-- Build files have been written to: ~/hackercup/qualification/build
$ make
...
[100%] Built target hackercup
$ ./hackercup
Usage: ./hackercup [-io] [-i input][-o output] ...
...

Run C++ code

$ ./hackercup --input=../input/a.txt \
              --output=../output/a.txt