{"id":22276308,"url":"https://github.com/suryansh-dey/mystl","last_synced_at":"2026-02-27T13:02:35.291Z","repository":{"id":225058880,"uuid":"764680745","full_name":"Suryansh-Dey/mySTL","owner":"Suryansh-Dey","description":"A library for competitive programming to solve even graph problems in minutes!","archived":false,"fork":false,"pushed_at":"2024-10-31T16:52:48.000Z","size":235623,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-03T14:14:19.339Z","etag":null,"topics":["arrayprint","bitarray","graph","quickforloop"],"latest_commit_sha":null,"homepage":"https://codeforces.com/contest/1927/submission/252874883","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Suryansh-Dey.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-28T14:20:21.000Z","updated_at":"2024-11-25T05:25:41.000Z","dependencies_parsed_at":"2024-10-31T08:28:41.328Z","dependency_job_id":null,"html_url":"https://github.com/Suryansh-Dey/mySTL","commit_stats":null,"previous_names":["suryansh-dey/mystl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suryansh-Dey%2FmySTL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suryansh-Dey%2FmySTL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suryansh-Dey%2FmySTL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suryansh-Dey%2FmySTL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suryansh-Dey","download_url":"https://codeload.github.com/Suryansh-Dey/mySTL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236370529,"owners_count":19138291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arrayprint","bitarray","graph","quickforloop"],"created_at":"2024-12-03T14:14:26.226Z","updated_at":"2025-10-13T16:31:02.711Z","avatar_url":"https://github.com/Suryansh-Dey.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mySTL\nA library to make you best competitive programmer on earth!\n# Documentation\nRead `mySTL.hpp` for documentation of the library.  \nYup I m that lzy\n# mySTL.hpp\nYou can add \n```cpp\n#include \"path_to_mySTL_folder/mySTL/mySTL.hpp\"\n```\nlike any other library and thanks to `mystl.hpp.gch`, pre-compiled header, present in the same directory as `mySTL.hpp`, compilation time cutts of by 75%!!  \n- That saves you 3 seconds of boring time!\n- It internally includes all standard C++ libarary. No more hardwork\n# mySTL.exe \nThis allows you to submit your code on an online platform, which takes a single main file, by copy pasting mySTL library just above your code\n## For mac or linux \nFuck off mac or linux users, you are too fancy (run following command on terminal  \nFirst cd to the mySTL folder then run\n```\nrm bin/mySTL.exe\ng++ -std=c++17 src/mystl.cpp -o bin/mySTL\n```\nand rest of everything will work the same on linux or mac device too)\n## Arguments\n- It takes two command line argument, your_source_file_path output_file_path  \n- If only one argument of source_file_path provided, the default output_file_name is choosen to be MYSTL_source_file_name and stored at source_file_directory\n## How to use\nIt removes first line of your code assuming it to be \n```cpp\n#include \"mySTL/mySTL.hpp\"\n```\nand adds the whole source code of mySTL library only  \nExample:  \nOn terminal run\n```\nmystl main.cpp\n```\nand you will get a `MYSTL_main.cpp` file which has 1st line replaced by mySTL source code\n## Setup\nTo use it like a command line program from every location you will have to\nfollowing steps:\n1. open All programs (window key on windows)\n2. search edit environment variables and press enter\n3. click on environment variables button\n4. under `user variables for \u003cuser_name\u003e` click on `Path`\n5. click edit\n6. paste the location of mySTL/bin folder on at last line\n7. finally, hit ok.  \nNow open a new terminal and run\n```\nmystl --version\n```\nIf this prints `This is mySTL version \u003cversion_number\u003e`, YOU ARE ALL SET!! else, you messed something. Try cloning the repository again and repeat the same steps\n## Flags\n- `--version` to get version number\n- `--help` to know about arguments it takes\n# Adding custom functions\nWe love freedom, infact that's the whole motivation behind C++ too  \nYou can go to `mySTL.hpp` file and within the MyStl namespace, you can add your own classes  \nTo write you definations to them, make a new file in src folder start defining them and THATS ALL!  \nmySTL.exe will take care of them too, its not as selfish as you  \n- MAKE SURE you include the defination files below `// MYSTL_ENDS` comment of `mySTL.hpp` file for eg. \n```cpp\n// MYSTL_END\n#include \"graph.cpp\"\n#include \"myFile.cpp\"\n```\nOtherwise your editor will keep freeking out\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryansh-dey%2Fmystl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuryansh-dey%2Fmystl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuryansh-dey%2Fmystl/lists"}