{"action":"created","comment":{"url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments/229182626","pull_request_review_id":169620007,"id":229182626,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTE4MjYyNg==","diff_hunk":"@@ -0,0 +1,30 @@\n+#include <iostream>\n+\n+int gcd_rec(int a, int b)\n+{\n+    return b == 0 ? a : gcd_rec(b, a % b);\n+}\n+\n+\n+int gcd_loop(int a , int b) {\n+\twhile (b != 0) \n+    {\n+\t\tint temp = b;\n+\t\tb = a % b;\n+\t\ta = temp;\n+\t}\n+\treturn a;\n+}\n+\n+\n+using namespace std;\n+int main()\n+{\n+\tint a = 30, b = 40;\n+    int x, y;","path":"euclidean_gcd/CPP/euclidean_gcd.cpp","position":24,"original_position":24,"commit_id":"cd2255f99a1b4bc6d877911afaff5996183c3de3","original_commit_id":"cd2255f99a1b4bc6d877911afaff5996183c3de3","user":{"login":"sangamcse","id":26381717,"node_id":"MDQ6VXNlcjI2MzgxNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/26381717?v=4","gravatar_id":"","url":"https://api.github.com/users/sangamcse","html_url":"https://github.com/sangamcse","followers_url":"https://api.github.com/users/sangamcse/followers","following_url":"https://api.github.com/users/sangamcse/following{/other_user}","gists_url":"https://api.github.com/users/sangamcse/gists{/gist_id}","starred_url":"https://api.github.com/users/sangamcse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sangamcse/subscriptions","organizations_url":"https://api.github.com/users/sangamcse/orgs","repos_url":"https://api.github.com/users/sangamcse/repos","events_url":"https://api.github.com/users/sangamcse/events{/privacy}","received_events_url":"https://api.github.com/users/sangamcse/received_events","type":"User","site_admin":false},"body":"Line contains following spacing inconsistencies:\n- Spaces used instead of tabs.\n\n*Origin: SpaceConsistencyBear, Section: `all.cpp`.*\n\nThe issue can be fixed by applying the following patch:\n\n```diff\n--- a/tmp/tmpwazjr6gq/euclidean_gcd/CPP/euclidean_gcd.cpp\n+++ b/tmp/tmpwazjr6gq/euclidean_gcd/CPP/euclidean_gcd.cpp\n@@ -21,7 +21,7 @@\n int main()\n {\n \tint a = 30, b = 40;\n-    int x, y;\n+\tint x, y;\n \n \tcout << \"Recursive: GCD(\" << a << \", \" << b << \") = \" << gcd_rec(a, b) << endl;\n \tcout << \"Loop     : GCD(\" << a << \", \" << b << \") = \" << gcd_loop(a, b) << endl;\n```","created_at":"2018-10-30T05:50:05Z","updated_at":"2018-10-30T05:50:05Z","html_url":"https://github.com/NITSkmOS/Algorithms/pull/488#discussion_r229182626","pull_request_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments/229182626"},"html":{"href":"https://github.com/NITSkmOS/Algorithms/pull/488#discussion_r229182626"},"pull_request":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488"}}},"pull_request":{"url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488","id":226799232,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2Nzk5MjMy","html_url":"https://github.com/NITSkmOS/Algorithms/pull/488","diff_url":"https://github.com/NITSkmOS/Algorithms/pull/488.diff","patch_url":"https://github.com/NITSkmOS/Algorithms/pull/488.patch","issue_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/488","number":488,"state":"open","locked":false,"title":"euclidean_gcd.cpp Add Euclidean GCD Algorithm","user":{"login":"j3r3mias","id":3991953,"node_id":"MDQ6VXNlcjM5OTE5NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3991953?v=4","gravatar_id":"","url":"https://api.github.com/users/j3r3mias","html_url":"https://github.com/j3r3mias","followers_url":"https://api.github.com/users/j3r3mias/followers","following_url":"https://api.github.com/users/j3r3mias/following{/other_user}","gists_url":"https://api.github.com/users/j3r3mias/gists{/gist_id}","starred_url":"https://api.github.com/users/j3r3mias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3r3mias/subscriptions","organizations_url":"https://api.github.com/users/j3r3mias/orgs","repos_url":"https://api.github.com/users/j3r3mias/repos","events_url":"https://api.github.com/users/j3r3mias/events{/privacy}","received_events_url":"https://api.github.com/users/j3r3mias/received_events","type":"User","site_admin":false},"body":"This add Euclidean Algorithm which return the GCD of two numbers.\r\n\r\nCloses https://github.com/NITSkmOS/Algorithms/issues/16\r\n\r\n<!--\r\nThanks for your contribution!\r\n\r\nPlease take a quick look at those things down there. They're quite important.\r\nReally! We wrote them for you. Yes you! With utmost care. Read them.\r\n\r\nIn order to help us evaluate PRs better, we ask you to have a look at the\r\nfollowing declaration and check the points you agree with. ( [x] )\r\nPRs which don't agree to all the points mentioned below will be rejected.\r\n\r\nAlso make sure that this PR corresponds to one and only one issue. Write the\r\nissue number in the space provided below.\r\n-->\r\n\r\n**For short term contributors:** we understand that getting your commits well\r\ndefined like we require is a hard task and takes some learning. If you\r\nlook to help without wanting to contribute long term there's no need\r\nfor you to learn this. Just drop us a message and we'll take care of brushing\r\nup your stuff for merge!\r\n\r\nFixes #{ISSUE_NUMBER}\r\n\r\n\r\n**By submitting this pull request I confirm I've read and complied with the\r\nbelow declarations.**\r\n\r\n- [x] I have read the [Contribution guidelines](https://github.com/NITSkmOS/Algorithms/blob/master/CONTRIBUTING.md) and I am confident that my PR reflects them.\r\n- [x] I have followed the [commit guidelines](https://github.com/NITSkmOS/Algorithms/blob/master/CONTRIBUTING.md#write-good-commit-messages) for this project.\r\n- [x] My code follows the [standard code structure](https://github.com/NITSkmOS/Algorithms/blob/master/CONTRIBUTING.md#samples-code).\r\n- [x] This pull request has a descriptive title. For example, `{Tag}: Add {Algorithm/DS name} [{Language}]`, not `Update README.md` or `Added new code`.\r\n- [x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.\r\n- [x] This pull request shall only be reviewed and merged once all the checks passes. No maintainer or supporter shall be obliged to review it before this condition is met.\r\n- [x] I have mentioned the issue number correctly (with hyperlink) in this pull request description.\r\n\r\nAfter you submit your pull request, **DO NOT** click the 'Update Branch' button.\r\n","created_at":"2018-10-30T05:48:19Z","updated_at":"2018-10-30T05:50:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a65070257120690dcb16a24ba3b6974d649ec76","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1073865315,"node_id":"MDU6TGFiZWwxMDczODY1MzE1","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/difficulty/medium","name":"difficulty/medium","color":"3c44d1","default":false},{"id":1073867409,"node_id":"MDU6TGFiZWwxMDczODY3NDA5","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/hacktoberfest","name":"hacktoberfest","color":"411e2f","default":false},{"id":1073873467,"node_id":"MDU6TGFiZWwxMDczODczNDY3","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/lang/C++","name":"lang/C++","color":"ee3ff4","default":false},{"id":1075526358,"node_id":"MDU6TGFiZWwxMDc1NTI2MzU4","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/process/pending_review","name":"process/pending_review","color":"ededed","default":false},{"id":1104105902,"node_id":"MDU6TGFiZWwxMTA0MTA1OTAy","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/size/XS","name":"size/XS","color":"ededed","default":false},{"id":1073867618,"node_id":"MDU6TGFiZWwxMDczODY3NjE4","url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels/type/algo","name":"type/algo","color":"6237b2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488/commits","review_comments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488/comments","review_comment_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/488/comments","statuses_url":"https://api.github.com/repos/NITSkmOS/Algorithms/statuses/cd2255f99a1b4bc6d877911afaff5996183c3de3","head":{"label":"j3r3mias:euclidean_gcd_cpp","ref":"euclidean_gcd_cpp","sha":"cd2255f99a1b4bc6d877911afaff5996183c3de3","user":{"login":"j3r3mias","id":3991953,"node_id":"MDQ6VXNlcjM5OTE5NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3991953?v=4","gravatar_id":"","url":"https://api.github.com/users/j3r3mias","html_url":"https://github.com/j3r3mias","followers_url":"https://api.github.com/users/j3r3mias/followers","following_url":"https://api.github.com/users/j3r3mias/following{/other_user}","gists_url":"https://api.github.com/users/j3r3mias/gists{/gist_id}","starred_url":"https://api.github.com/users/j3r3mias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3r3mias/subscriptions","organizations_url":"https://api.github.com/users/j3r3mias/orgs","repos_url":"https://api.github.com/users/j3r3mias/repos","events_url":"https://api.github.com/users/j3r3mias/events{/privacy}","received_events_url":"https://api.github.com/users/j3r3mias/received_events","type":"User","site_admin":false},"repo":{"id":155329920,"node_id":"MDEwOlJlcG9zaXRvcnkxNTUzMjk5MjA=","name":"Algorithms","full_name":"j3r3mias/Algorithms","private":false,"owner":{"login":"j3r3mias","id":3991953,"node_id":"MDQ6VXNlcjM5OTE5NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/3991953?v=4","gravatar_id":"","url":"https://api.github.com/users/j3r3mias","html_url":"https://github.com/j3r3mias","followers_url":"https://api.github.com/users/j3r3mias/followers","following_url":"https://api.github.com/users/j3r3mias/following{/other_user}","gists_url":"https://api.github.com/users/j3r3mias/gists{/gist_id}","starred_url":"https://api.github.com/users/j3r3mias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j3r3mias/subscriptions","organizations_url":"https://api.github.com/users/j3r3mias/orgs","repos_url":"https://api.github.com/users/j3r3mias/repos","events_url":"https://api.github.com/users/j3r3mias/events{/privacy}","received_events_url":"https://api.github.com/users/j3r3mias/received_events","type":"User","site_admin":false},"html_url":"https://github.com/j3r3mias/Algorithms","description":"In case you want to contribute, ping on https://gitter.im/NITSkmOS/algo.","fork":true,"url":"https://api.github.com/repos/j3r3mias/Algorithms","forks_url":"https://api.github.com/repos/j3r3mias/Algorithms/forks","keys_url":"https://api.github.com/repos/j3r3mias/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j3r3mias/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j3r3mias/Algorithms/teams","hooks_url":"https://api.github.com/repos/j3r3mias/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/j3r3mias/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/j3r3mias/Algorithms/events","assignees_url":"https://api.github.com/repos/j3r3mias/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/j3r3mias/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/j3r3mias/Algorithms/tags","blobs_url":"https://api.github.com/repos/j3r3mias/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j3r3mias/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j3r3mias/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/j3r3mias/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j3r3mias/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/j3r3mias/Algorithms/languages","stargazers_url":"https://api.github.com/repos/j3r3mias/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/j3r3mias/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/j3r3mias/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/j3r3mias/Algorithms/subscription","commits_url":"https://api.github.com/repos/j3r3mias/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/j3r3mias/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/j3r3mias/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/j3r3mias/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/j3r3mias/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/j3r3mias/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j3r3mias/Algorithms/merges","archive_url":"https://api.github.com/repos/j3r3mias/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j3r3mias/Algorithms/downloads","issues_url":"https://api.github.com/repos/j3r3mias/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/j3r3mias/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/j3r3mias/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/j3r3mias/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j3r3mias/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/j3r3mias/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/j3r3mias/Algorithms/deployments","created_at":"2018-10-30T05:34:33Z","updated_at":"2018-10-30T05:34:35Z","pushed_at":"2018-10-30T05:47:30Z","git_url":"git://github.com/j3r3mias/Algorithms.git","ssh_url":"git@github.com:j3r3mias/Algorithms.git","clone_url":"https://github.com/j3r3mias/Algorithms.git","svn_url":"https://github.com/j3r3mias/Algorithms","homepage":"https://nitskmos.github.io/Algorithms","size":139,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NITSkmOS:master","ref":"master","sha":"40b7644caba2480812c50a9419c3650981a9d6bb","user":{"login":"NITSkmOS","id":38863995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4ODYzOTk1","avatar_url":"https://avatars3.githubusercontent.com/u/38863995?v=4","gravatar_id":"","url":"https://api.github.com/users/NITSkmOS","html_url":"https://github.com/NITSkmOS","followers_url":"https://api.github.com/users/NITSkmOS/followers","following_url":"https://api.github.com/users/NITSkmOS/following{/other_user}","gists_url":"https://api.github.com/users/NITSkmOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NITSkmOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NITSkmOS/subscriptions","organizations_url":"https://api.github.com/users/NITSkmOS/orgs","repos_url":"https://api.github.com/users/NITSkmOS/repos","events_url":"https://api.github.com/users/NITSkmOS/events{/privacy}","received_events_url":"https://api.github.com/users/NITSkmOS/received_events","type":"Organization","site_admin":false},"repo":{"id":148530970,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg1MzA5NzA=","name":"Algorithms","full_name":"NITSkmOS/Algorithms","private":false,"owner":{"login":"NITSkmOS","id":38863995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4ODYzOTk1","avatar_url":"https://avatars3.githubusercontent.com/u/38863995?v=4","gravatar_id":"","url":"https://api.github.com/users/NITSkmOS","html_url":"https://github.com/NITSkmOS","followers_url":"https://api.github.com/users/NITSkmOS/followers","following_url":"https://api.github.com/users/NITSkmOS/following{/other_user}","gists_url":"https://api.github.com/users/NITSkmOS/gists{/gist_id}","starred_url":"https://api.github.com/users/NITSkmOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NITSkmOS/subscriptions","organizations_url":"https://api.github.com/users/NITSkmOS/orgs","repos_url":"https://api.github.com/users/NITSkmOS/repos","events_url":"https://api.github.com/users/NITSkmOS/events{/privacy}","received_events_url":"https://api.github.com/users/NITSkmOS/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NITSkmOS/Algorithms","description":"In case you want to contribute, ping on https://gitter.im/NITSkmOS/algo.","fork":false,"url":"https://api.github.com/repos/NITSkmOS/Algorithms","forks_url":"https://api.github.com/repos/NITSkmOS/Algorithms/forks","keys_url":"https://api.github.com/repos/NITSkmOS/Algorithms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NITSkmOS/Algorithms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NITSkmOS/Algorithms/teams","hooks_url":"https://api.github.com/repos/NITSkmOS/Algorithms/hooks","issue_events_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/events{/number}","events_url":"https://api.github.com/repos/NITSkmOS/Algorithms/events","assignees_url":"https://api.github.com/repos/NITSkmOS/Algorithms/assignees{/user}","branches_url":"https://api.github.com/repos/NITSkmOS/Algorithms/branches{/branch}","tags_url":"https://api.github.com/repos/NITSkmOS/Algorithms/tags","blobs_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/refs{/sha}","trees_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NITSkmOS/Algorithms/statuses/{sha}","languages_url":"https://api.github.com/repos/NITSkmOS/Algorithms/languages","stargazers_url":"https://api.github.com/repos/NITSkmOS/Algorithms/stargazers","contributors_url":"https://api.github.com/repos/NITSkmOS/Algorithms/contributors","subscribers_url":"https://api.github.com/repos/NITSkmOS/Algorithms/subscribers","subscription_url":"https://api.github.com/repos/NITSkmOS/Algorithms/subscription","commits_url":"https://api.github.com/repos/NITSkmOS/Algorithms/commits{/sha}","git_commits_url":"https://api.github.com/repos/NITSkmOS/Algorithms/git/commits{/sha}","comments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/comments{/number}","issue_comment_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/comments{/number}","contents_url":"https://api.github.com/repos/NITSkmOS/Algorithms/contents/{+path}","compare_url":"https://api.github.com/repos/NITSkmOS/Algorithms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NITSkmOS/Algorithms/merges","archive_url":"https://api.github.com/repos/NITSkmOS/Algorithms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NITSkmOS/Algorithms/downloads","issues_url":"https://api.github.com/repos/NITSkmOS/Algorithms/issues{/number}","pulls_url":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls{/number}","milestones_url":"https://api.github.com/repos/NITSkmOS/Algorithms/milestones{/number}","notifications_url":"https://api.github.com/repos/NITSkmOS/Algorithms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NITSkmOS/Algorithms/labels{/name}","releases_url":"https://api.github.com/repos/NITSkmOS/Algorithms/releases{/id}","deployments_url":"https://api.github.com/repos/NITSkmOS/Algorithms/deployments","created_at":"2018-09-12T19:26:40Z","updated_at":"2018-10-29T21:20:30Z","pushed_at":"2018-10-30T05:48:20Z","git_url":"git://github.com/NITSkmOS/Algorithms.git","ssh_url":"git@github.com:NITSkmOS/Algorithms.git","clone_url":"https://github.com/NITSkmOS/Algorithms.git","svn_url":"https://github.com/NITSkmOS/Algorithms","homepage":"https://nitskmos.github.io/Algorithms","size":139,"stargazers_count":46,"watchers_count":46,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":274,"mirror_url":null,"archived":false,"open_issues_count":49,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":274,"open_issues":49,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488"},"html":{"href":"https://github.com/NITSkmOS/Algorithms/pull/488"},"issue":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/488"},"comments":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/issues/488/comments"},"review_comments":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488/comments"},"review_comment":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/pulls/488/commits"},"statuses":{"href":"https://api.github.com/repos/NITSkmOS/Algorithms/statuses/cd2255f99a1b4bc6d877911afaff5996183c3de3"}},"author_association":"NONE"}}
{"actor":{"display_login":"sangamcse"}}