Skip to content
hellorifatPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

{"payload":{"allShortcutsEnabled":true,"fileTree":{"":{"items":[{"name":"C++14_linux.sublime-build","path":"C++14_linux.sublime-build","contentType":"file"},{"name":"C++14_os_x.sublime-build","path":"C++14_os_x.sublime-build","contentType":"file"},{"name":"C++14_windows.sublime-build","path":"C++14_windows.sublime-build","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"template.cpp","path":"template.cpp","contentType":"file"}],"totalCount":5}},"fileTreeProcessingTime":1.8519750000000001,"foldersToFetch":[],"repo":{"id":83041006,"defaultBranch":"master","name":"Competitive-Programming","ownerLogin":"luvk1412","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-02-24T18:51:13.000+06:00","ownerAvatar":"https://avatars.githubusercontent.com/u/11024840?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1587926480.0","canEdit":true,"refType":"branch","currentOid":"3d516d11b4c41fbe8cc90a54e5477cd550460201"},"path":"README.md","currentUser":{"id":52621094,"login":"hellorifat","userEmail":"rifatulislam830@gmail.com"},"blob":{"rawLines":null,"stylingDirectives":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/luvk1412/Competitive-Programming/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":false},"displayName":"README.md","displayUrl":"https://github.com/luvk1412/Competitive-Programming/blob/master/README.md?raw=true","headerInfo":{"blobSize":"1.53 KB","deleteTooltip":"Fork this repository and delete the file","editTooltip":"Fork this repository and edit the file","deleteInfo":{"deleteTooltip":"Fork this repository and delete the file"},"editInfo":{"editTooltip":"Fork this repository and edit the file"},"ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"gitLfsPath":null,"onBranch":true,"shortPath":"424cc76","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fluvk1412%2FCompetitive-Programming%2Fblob%2Fmaster%2FREADME.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"Competitive-Programming","anchor":"competitive-programming","htmlText":"Competitive-Programming"},{"level":2,"text":"Template.cpp :","anchor":"templatecpp-","htmlText":"Template.cpp :"},{"level":2,"text":"C++14.sublime-build (FOR LINUX) :","anchor":"c14sublime-build-for-linux-","htmlText":"C++14.sublime-build (FOR LINUX) :"},{"level":2,"text":"C++14.sublime-build (FOR OS X(Mac Users) ) :","anchor":"c14sublime-build-for-os-xmac-users--","htmlText":"C++14.sublime-build (FOR OS X(Mac Users) ) :"}],"lineInfo":{"truncatedLoc":"38","truncatedSloc":"27"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"loggedIn":true,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/luvk1412/Competitive-Programming/blob/master/README.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/luvk1412/Competitive-Programming/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/luvk1412/Competitive-Programming/raw/master/README.md","renderImageOrRaw":false,"richText":"<article class="markdown-body entry-content container-lg" itemprop="text"><h1 tabindex="-1" dir="auto"><a id="user-content-competitive-programming" class="anchor" aria-hidden="true" tabindex="-1" href="#competitive-programming"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z">Competitive-Programming\n<h2 tabindex="-1" dir="auto"><a id="user-content-templatecpp-" class="anchor" aria-hidden="true" tabindex="-1" href="#templatecpp-"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z">Template.cpp :\n<p dir="auto">c++ codes for various functions

\n<h2 tabindex="-1" dir="auto"><a id="user-content-c14sublime-build-for-linux-" class="anchor" aria-hidden="true" tabindex="-1" href="#c14sublime-build-for-linux-"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z">C++14.sublime-build (FOR LINUX) :\n<p dir="auto">Build system to directly compile and run c++ programs in sublime on linux. Moreover it uses c++14 directly opposed to the fact that terminal doesnt.

\n<p dir="auto">Instructions :

\n<ul dir="auto">\n
  • Go to Tools > Build Systems > New Build System
  • \n
  • Copy the code from C++14.sublime-build and paste it ther and save it by any name.
  • \n
  • Go to Tools > Build Systems ans select your new build system
  • \n
  • Create 2 files named inputf.in and outputf.in in same directory in which u have ur code.
  • \n
  • Write input in inputf.in, save and run the code in sublime and you will get output in outputf.in .
  • \n\n<p dir="auto">Tips :

    \n<ul dir="auto">\n
  • You can use CTRL + shift + B to directly compile run.
  • \n
  • You can use 3 pane setup to view code, input dile and output file at once (ALT + SHIFT + 3).
  • \n\n<h2 tabindex="-1" dir="auto"><a id="user-content-c14sublime-build-for-os-xmac-users--" class="anchor" aria-hidden="true" tabindex="-1" href="#c14sublime-build-for-os-xmac-users--"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z">C++14.sublime-build (FOR OS X(Mac Users) ) :\n<p dir="auto">Follow the same steps above just copy the sublime build file corresponding to OS X. You need to have gcc and gtimout installed to be able to run above build system.

    \n<p dir="auto">To install gcc in OS X :

    \n<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="brew install gcc"><pre class="notranslate">brew install gcc\n\n<p dir="auto">To install gtimout in OS X :

    \n<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="brew install coreutils"><pre class="notranslate">brew install coreutils\n\n<p dir="auto">Remember you may have to change the version in g++-{version} in sublime build file according to gcc version installed by brew. At the time of writting this post it is 10 hence is written as g++-9

    \n<p dir="auto">This is how it looks

    \n<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/11024840/24636899/0511b208-18fb-11e7-88d5-6cf4b810370b.png\"><img src="https://cloud.githubusercontent.com/assets/11024840/24636899/0511b208-18fb-11e7-88d5-6cf4b810370b.png\" alt="screenshot from 2017-04-04 05-35-27" title="Sublime Build Sytem - C++14" style="max-width: 100%;">

    \n","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"luvk1412","repoName":"Competitive-Programming","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"Competitive-Programming","kind":"section_1","ident_start":2,"ident_end":25,"extent_start":0,"extent_end":1566,"fully_qualified_name":"Competitive-Programming","ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":25}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":38,"utf16_col":0}}},{"name":"Template.cpp :","kind":"section_2","ident_start":30,"ident_end":44,"extent_start":27,"extent_end":79,"fully_qualified_name":"Template.cpp :","ident_utf16":{"start":{"line_number":2,"utf16_col":3},"end":{"line_number":2,"utf16_col":17}},"extent_utf16":{"start":{"line_number":2,"utf16_col":0},"end":{"line_number":6,"utf16_col":0}}},{"name":"C++14.sublime-build (FOR LINUX) :","kind":"section_2","ident_start":82,"ident_end":115,"extent_start":79,"extent_end":843,"fully_qualified_name":"C++14.sublime-build (FOR LINUX) :","ident_utf16":{"start":{"line_number":6,"utf16_col":3},"end":{"line_number":6,"utf16_col":36}},"extent_utf16":{"start":{"line_number":6,"utf16_col":0},"end":{"line_number":21,"utf16_col":0}}},{"name":"C++14.sublime-build (FOR OS X(Mac Users) ) :","kind":"section_2","ident_start":846,"ident_end":890,"extent_start":843,"extent_end":1566,"fully_qualified_name":"C++14.sublime-build (FOR OS X(Mac Users) ) :","ident_utf16":{"start":{"line_number":21,"utf16_col":3},"end":{"line_number":21,"utf16_col":47}},"extent_utf16":{"start":{"line_number":21,"utf16_col":0},"end":{"line_number":38,"utf16_col":0}}}]}},"copilotInfo":{"documentationUrl":"https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals","notices":{"codeViewPopover":{"dismissed":false,"dismissPath":"/settings/dismiss-notice/code_view_copilot_popover"}},"userAccess":{"hasSubscriptionEnded":false,"orgHasCFBAccess":false,"userHasCFIAccess":false,"userHasOrgs":false,"userIsOrgAdmin":false,"userIsOrgMember":false,"business":null,"featureRequestInfo":null}},"copilotAccessAllowed":false,"csrf_tokens":{"/luvk1412/Competitive-Programming/branches":{"post":"YGl6FcMYJlKDwO3cF61f_eKVOvKRCQ-06PIr_51HAJABDjlxBln2TB4ePEPt4RJKJc8qBEwPALVifLYRBfkDrw"},"/repos/preferences":{"post":"cRwt-sPr1tDjR4slJNllA-auL29PJ_YIwVwEOdz8EVhu-LNRYyy7XO_Ds9bEpU2f9fGyW_NrsU93_7z3ZzAJ4A"}}},"title":"Competitive-Programming/README.md at master · luvk1412/Competitive-Programming"}

    About

    No description, website, or topics provided.

    Resources

    Stars

    0 stars

    Watchers

    1 watching

    Forks

    Releases

    Packages

    Contributors

    Languages