{"action":"created","comment":{"url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/comments/187246491","pull_request_review_id":118985541,"id":187246491,"diff_hunk":"@@ -0,0 +1,90 @@\n+#include<bits/stdc++.h>\n+\n+using namespace std;\n+\n+int main()\n+{\n+    vector <int> V1;\n+    int qnum, qtype, x, y, ref, k;\n+    vector <int> :: iterator i;\n+    cin>>qnum;\n+    for(int j=0; j<qnum; ++j)\n+    {\n+        cin>>qtype;\n+        switch(qtype)\n+        {\n+            case 1:\n+                cin>>x;\n+                V1.push_back(x);\n+                break;\n+\n+\n+\n+            case 2:\n+                cin>>x;\n+                cin>>y;\n+                V1[x] = y;\n+                break;\n+\n+\n+\n+            case 3:\n+                cin>>x;\n+                ref = 0;\n+                for(i = V1.begin(), k = 0; i!=V1.end(); ++i, ++k)\n+                {\n+                    if(V1[k] == x)","path":"CP/Assignment1-STL/Abhinav P Y/Vector.cpp","position":36,"original_position":36,"commit_id":"6d8f2c8ac5255e2ffdcaf9e5b1f749485e022acf","original_commit_id":"6d8f2c8ac5255e2ffdcaf9e5b1f749485e022acf","user":{"login":"Aj163","id":28698851,"avatar_url":"https://avatars3.githubusercontent.com/u/28698851?v=4","gravatar_id":"","url":"https://api.github.com/users/Aj163","html_url":"https://github.com/Aj163","followers_url":"https://api.github.com/users/Aj163/followers","following_url":"https://api.github.com/users/Aj163/following{/other_user}","gists_url":"https://api.github.com/users/Aj163/gists{/gist_id}","starred_url":"https://api.github.com/users/Aj163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aj163/subscriptions","organizations_url":"https://api.github.com/users/Aj163/orgs","repos_url":"https://api.github.com/users/Aj163/repos","events_url":"https://api.github.com/users/Aj163/events{/privacy}","received_events_url":"https://api.github.com/users/Aj163/received_events","type":"User","site_admin":false},"body":"Use find()","created_at":"2018-05-10T05:58:45Z","updated_at":"2018-05-10T05:59:04Z","html_url":"https://github.com/IEEE-NITK/SummerProjects18/pull/23#discussion_r187246491","pull_request_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/comments/187246491"},"html":{"href":"https://github.com/IEEE-NITK/SummerProjects18/pull/23#discussion_r187246491"},"pull_request":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23","id":187000742,"html_url":"https://github.com/IEEE-NITK/SummerProjects18/pull/23","diff_url":"https://github.com/IEEE-NITK/SummerProjects18/pull/23.diff","patch_url":"https://github.com/IEEE-NITK/SummerProjects18/pull/23.patch","issue_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues/23","number":23,"state":"open","locked":false,"title":"Assignment_1_CP-SMP18","user":{"login":"abhinavpy","id":32350058,"avatar_url":"https://avatars3.githubusercontent.com/u/32350058?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinavpy","html_url":"https://github.com/abhinavpy","followers_url":"https://api.github.com/users/abhinavpy/followers","following_url":"https://api.github.com/users/abhinavpy/following{/other_user}","gists_url":"https://api.github.com/users/abhinavpy/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavpy/subscriptions","organizations_url":"https://api.github.com/users/abhinavpy/orgs","repos_url":"https://api.github.com/users/abhinavpy/repos","events_url":"https://api.github.com/users/abhinavpy/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavpy/received_events","type":"User","site_admin":false},"body":"NO COMMENTS","created_at":"2018-05-09T18:19:58Z","updated_at":"2018-05-10T05:59:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97bb62196aaec7d8c04bdf341eafb9609be15d25","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23/commits","review_comments_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23/comments","review_comment_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues/23/comments","statuses_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/statuses/6d8f2c8ac5255e2ffdcaf9e5b1f749485e022acf","head":{"label":"abhinavpy:master","ref":"master","sha":"6d8f2c8ac5255e2ffdcaf9e5b1f749485e022acf","user":{"login":"abhinavpy","id":32350058,"avatar_url":"https://avatars3.githubusercontent.com/u/32350058?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinavpy","html_url":"https://github.com/abhinavpy","followers_url":"https://api.github.com/users/abhinavpy/followers","following_url":"https://api.github.com/users/abhinavpy/following{/other_user}","gists_url":"https://api.github.com/users/abhinavpy/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavpy/subscriptions","organizations_url":"https://api.github.com/users/abhinavpy/orgs","repos_url":"https://api.github.com/users/abhinavpy/repos","events_url":"https://api.github.com/users/abhinavpy/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavpy/received_events","type":"User","site_admin":false},"repo":{"id":132792357,"name":"SummerProjects18","full_name":"abhinavpy/SummerProjects18","owner":{"login":"abhinavpy","id":32350058,"avatar_url":"https://avatars3.githubusercontent.com/u/32350058?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinavpy","html_url":"https://github.com/abhinavpy","followers_url":"https://api.github.com/users/abhinavpy/followers","following_url":"https://api.github.com/users/abhinavpy/following{/other_user}","gists_url":"https://api.github.com/users/abhinavpy/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavpy/subscriptions","organizations_url":"https://api.github.com/users/abhinavpy/orgs","repos_url":"https://api.github.com/users/abhinavpy/repos","events_url":"https://api.github.com/users/abhinavpy/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavpy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abhinavpy/SummerProjects18","description":"IEEE Summer Projects for IEEE-NITK CompSoc for the Summer of 2018","fork":true,"url":"https://api.github.com/repos/abhinavpy/SummerProjects18","forks_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/forks","keys_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/teams","hooks_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/hooks","issue_events_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/issues/events{/number}","events_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/events","assignees_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/assignees{/user}","branches_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/branches{/branch}","tags_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/tags","blobs_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/statuses/{sha}","languages_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/languages","stargazers_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/stargazers","contributors_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/contributors","subscribers_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/subscribers","subscription_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/subscription","commits_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/issues/comments{/number}","contents_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/contents/{+path}","compare_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/merges","archive_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/downloads","issues_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/issues{/number}","pulls_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/pulls{/number}","milestones_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/milestones{/number}","notifications_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/labels{/name}","releases_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/releases{/id}","deployments_url":"https://api.github.com/repos/abhinavpy/SummerProjects18/deployments","created_at":"2018-05-09T17:39:45Z","updated_at":"2018-05-09T18:12:35Z","pushed_at":"2018-05-09T18:12:33Z","git_url":"git://github.com/abhinavpy/SummerProjects18.git","ssh_url":"git@github.com:abhinavpy/SummerProjects18.git","clone_url":"https://github.com/abhinavpy/SummerProjects18.git","svn_url":"https://github.com/abhinavpy/SummerProjects18","homepage":null,"size":223,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"IEEE-NITK:master","ref":"master","sha":"4602a88a2c62569d7508b051f4af27aac631464a","user":{"login":"IEEE-NITK","id":8426268,"avatar_url":"https://avatars0.githubusercontent.com/u/8426268?v=4","gravatar_id":"","url":"https://api.github.com/users/IEEE-NITK","html_url":"https://github.com/IEEE-NITK","followers_url":"https://api.github.com/users/IEEE-NITK/followers","following_url":"https://api.github.com/users/IEEE-NITK/following{/other_user}","gists_url":"https://api.github.com/users/IEEE-NITK/gists{/gist_id}","starred_url":"https://api.github.com/users/IEEE-NITK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IEEE-NITK/subscriptions","organizations_url":"https://api.github.com/users/IEEE-NITK/orgs","repos_url":"https://api.github.com/users/IEEE-NITK/repos","events_url":"https://api.github.com/users/IEEE-NITK/events{/privacy}","received_events_url":"https://api.github.com/users/IEEE-NITK/received_events","type":"Organization","site_admin":false},"repo":{"id":131704593,"name":"SummerProjects18","full_name":"IEEE-NITK/SummerProjects18","owner":{"login":"IEEE-NITK","id":8426268,"avatar_url":"https://avatars0.githubusercontent.com/u/8426268?v=4","gravatar_id":"","url":"https://api.github.com/users/IEEE-NITK","html_url":"https://github.com/IEEE-NITK","followers_url":"https://api.github.com/users/IEEE-NITK/followers","following_url":"https://api.github.com/users/IEEE-NITK/following{/other_user}","gists_url":"https://api.github.com/users/IEEE-NITK/gists{/gist_id}","starred_url":"https://api.github.com/users/IEEE-NITK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IEEE-NITK/subscriptions","organizations_url":"https://api.github.com/users/IEEE-NITK/orgs","repos_url":"https://api.github.com/users/IEEE-NITK/repos","events_url":"https://api.github.com/users/IEEE-NITK/events{/privacy}","received_events_url":"https://api.github.com/users/IEEE-NITK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IEEE-NITK/SummerProjects18","description":"IEEE Summer Projects for IEEE-NITK CompSoc for the Summer of 2018","fork":false,"url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18","forks_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/forks","keys_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/teams","hooks_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/hooks","issue_events_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues/events{/number}","events_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/events","assignees_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/assignees{/user}","branches_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/branches{/branch}","tags_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/tags","blobs_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/git/refs{/sha}","trees_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/statuses/{sha}","languages_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/languages","stargazers_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/stargazers","contributors_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/contributors","subscribers_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/subscribers","subscription_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/subscription","commits_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/commits{/sha}","git_commits_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/git/commits{/sha}","comments_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/comments{/number}","issue_comment_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues/comments{/number}","contents_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/contents/{+path}","compare_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/merges","archive_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/downloads","issues_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues{/number}","pulls_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls{/number}","milestones_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/milestones{/number}","notifications_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/labels{/name}","releases_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/releases{/id}","deployments_url":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/deployments","created_at":"2018-05-01T11:16:01Z","updated_at":"2018-05-10T05:57:24Z","pushed_at":"2018-05-10T05:57:22Z","git_url":"git://github.com/IEEE-NITK/SummerProjects18.git","ssh_url":"git@github.com:IEEE-NITK/SummerProjects18.git","clone_url":"https://github.com/IEEE-NITK/SummerProjects18.git","svn_url":"https://github.com/IEEE-NITK/SummerProjects18","homepage":null,"size":220,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":33,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23"},"html":{"href":"https://github.com/IEEE-NITK/SummerProjects18/pull/23"},"issue":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues/23"},"comments":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/IEEE-NITK/SummerProjects18/statuses/6d8f2c8ac5255e2ffdcaf9e5b1f749485e022acf"}},"author_association":"NONE"}}
{"actor":{"display_login":"Aj163"}}