Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haxpor/hackerrank-sol
My hackerrank solutions
https://github.com/haxpor/hackerrank-sol
cpp hackerrank
Last synced: 24 days ago
JSON representation
My hackerrank solutions
- Host: GitHub
- URL: https://github.com/haxpor/hackerrank-sol
- Owner: haxpor
- Created: 2019-09-28T15:48:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-10T06:38:20.000Z (over 5 years ago)
- Last Synced: 2024-11-19T06:16:28.761Z (3 months ago)
- Topics: cpp, hackerrank
- Language: C++
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hackerrank-sol
My solutions on hackerrank.com. Sources are based on C++ with focus on using not more than C++11.
Use gcc 9.0 (g++) on Linux system.# How to compile
Each source can be compiled with `g++ -std=c++11 ` with or without optimization flag like `-O2` or `-O3`
in case you really need to optimize the application to try to make it execute within <2 second which is
the upper bound limit [environment](https://www.hackerrank.com/environment) on hackerank website.**Note** two libraries are ok to be linked with your application which are `-lm` and `-lpthread`, with additional of
[json library](http://www.digip.org/jansson/) if you ever need it. So link as per your need.# How to execute
Each solution will be tested with a defined test case which is given for free (no exchange of Hackos point for such test case),
but if such source is pushed on this repository (otherwise noted) it will work with upstream's test cases.Even sometimes I exchanged a certain test case with points, but I won't push those files here to not spoil other
hackerrank participations. Test cases can be found in `testcases/` directory.# License
MIT, Wasin Thonkaew