{"action":"created","comment":{"url":"https://api.github.com/repos/nickkartashev/Review/pulls/comments/269764961","pull_request_review_id":219719020,"id":269764961,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2OTc2NDk2MQ==","diff_hunk":"@@ -0,0 +1,153 @@\n+#pragma once\n+#include<vector>\n+#include<iostream>\n+#include<list>\n+#include<algorithm>\n+#include<stdexcept>\n+\n+template<class KeyType, class ValueType, class Hash = std::hash<KeyType> >\n+class HashMap\n+{\n+private:\n+    std::list<std::pair<const KeyType, ValueType> > elems;\n+    std::vector<std::list<std::pair<const KeyType, typename std::list<std::pair<const KeyType, ValueType> >::iterator> > > place;\n+    int capacity = 100000;\n+    size_t sz = 0;\n+    Hash hasht;\n+public:\n+    using iterator = typename std::list<std::pair<const KeyType, ValueType> >::iterator;\n+    using const_iterator = typename std::list<std::pair<const KeyType, ValueType> >::const_iterator;\n+    HashMap(Hash hasher = Hash()) : hasht(hasher)","path":"HashMap.cpp","position":20,"original_position":20,"commit_id":"a28393c87f3f82fc99616ff11c13eca15f1dc09b","original_commit_id":"a28393c87f3f82fc99616ff11c13eca15f1dc09b","user":{"login":"Skird","id":8753941,"node_id":"MDQ6VXNlcjg3NTM5NDE=","avatar_url":"https://avatars2.githubusercontent.com/u/8753941?v=4","gravatar_id":"","url":"https://api.github.com/users/Skird","html_url":"https://github.com/Skird","followers_url":"https://api.github.com/users/Skird/followers","following_url":"https://api.github.com/users/Skird/following{/other_user}","gists_url":"https://api.github.com/users/Skird/gists{/gist_id}","starred_url":"https://api.github.com/users/Skird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skird/subscriptions","organizations_url":"https://api.github.com/users/Skird/orgs","repos_url":"https://api.github.com/users/Skird/repos","events_url":"https://api.github.com/users/Skird/events{/privacy}","received_events_url":"https://api.github.com/users/Skird/received_events","type":"User","site_admin":false},"body":"explicit","created_at":"2019-03-27T20:53:16Z","updated_at":"2019-03-27T20:55:10Z","html_url":"https://github.com/nickkartashev/Review/pull/1#discussion_r269764961","pull_request_url":"https://api.github.com/repos/nickkartashev/Review/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/nickkartashev/Review/pulls/comments/269764961"},"html":{"href":"https://github.com/nickkartashev/Review/pull/1#discussion_r269764961"},"pull_request":{"href":"https://api.github.com/repos/nickkartashev/Review/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/nickkartashev/Review/pulls/1","id":258988047,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU4OTg4MDQ3","html_url":"https://github.com/nickkartashev/Review/pull/1","diff_url":"https://github.com/nickkartashev/Review/pull/1.diff","patch_url":"https://github.com/nickkartashev/Review/pull/1.patch","issue_url":"https://api.github.com/repos/nickkartashev/Review/issues/1","number":1,"state":"open","locked":false,"title":"Ревью №1, Николай Карташев","user":{"login":"nickkartashev","id":46845165,"node_id":"MDQ6VXNlcjQ2ODQ1MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/46845165?v=4","gravatar_id":"","url":"https://api.github.com/users/nickkartashev","html_url":"https://github.com/nickkartashev","followers_url":"https://api.github.com/users/nickkartashev/followers","following_url":"https://api.github.com/users/nickkartashev/following{/other_user}","gists_url":"https://api.github.com/users/nickkartashev/gists{/gist_id}","starred_url":"https://api.github.com/users/nickkartashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickkartashev/subscriptions","organizations_url":"https://api.github.com/users/nickkartashev/orgs","repos_url":"https://api.github.com/users/nickkartashev/repos","events_url":"https://api.github.com/users/nickkartashev/events{/privacy}","received_events_url":"https://api.github.com/users/nickkartashev/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-03-07T06:22:32Z","updated_at":"2019-03-27T20:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9dc29ed20bc1ac1cba8d45f7d12d629b685e3fb3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nickkartashev/Review/pulls/1/commits","review_comments_url":"https://api.github.com/repos/nickkartashev/Review/pulls/1/comments","review_comment_url":"https://api.github.com/repos/nickkartashev/Review/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nickkartashev/Review/issues/1/comments","statuses_url":"https://api.github.com/repos/nickkartashev/Review/statuses/a28393c87f3f82fc99616ff11c13eca15f1dc09b","head":{"label":"nickkartashev:Kartashev","ref":"Kartashev","sha":"a28393c87f3f82fc99616ff11c13eca15f1dc09b","user":{"login":"nickkartashev","id":46845165,"node_id":"MDQ6VXNlcjQ2ODQ1MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/46845165?v=4","gravatar_id":"","url":"https://api.github.com/users/nickkartashev","html_url":"https://github.com/nickkartashev","followers_url":"https://api.github.com/users/nickkartashev/followers","following_url":"https://api.github.com/users/nickkartashev/following{/other_user}","gists_url":"https://api.github.com/users/nickkartashev/gists{/gist_id}","starred_url":"https://api.github.com/users/nickkartashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickkartashev/subscriptions","organizations_url":"https://api.github.com/users/nickkartashev/orgs","repos_url":"https://api.github.com/users/nickkartashev/repos","events_url":"https://api.github.com/users/nickkartashev/events{/privacy}","received_events_url":"https://api.github.com/users/nickkartashev/received_events","type":"User","site_admin":false},"repo":{"id":174205453,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQyMDU0NTM=","name":"Review","full_name":"nickkartashev/Review","private":false,"owner":{"login":"nickkartashev","id":46845165,"node_id":"MDQ6VXNlcjQ2ODQ1MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/46845165?v=4","gravatar_id":"","url":"https://api.github.com/users/nickkartashev","html_url":"https://github.com/nickkartashev","followers_url":"https://api.github.com/users/nickkartashev/followers","following_url":"https://api.github.com/users/nickkartashev/following{/other_user}","gists_url":"https://api.github.com/users/nickkartashev/gists{/gist_id}","starred_url":"https://api.github.com/users/nickkartashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickkartashev/subscriptions","organizations_url":"https://api.github.com/users/nickkartashev/orgs","repos_url":"https://api.github.com/users/nickkartashev/repos","events_url":"https://api.github.com/users/nickkartashev/events{/privacy}","received_events_url":"https://api.github.com/users/nickkartashev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nickkartashev/Review","description":null,"fork":false,"url":"https://api.github.com/repos/nickkartashev/Review","forks_url":"https://api.github.com/repos/nickkartashev/Review/forks","keys_url":"https://api.github.com/repos/nickkartashev/Review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickkartashev/Review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickkartashev/Review/teams","hooks_url":"https://api.github.com/repos/nickkartashev/Review/hooks","issue_events_url":"https://api.github.com/repos/nickkartashev/Review/issues/events{/number}","events_url":"https://api.github.com/repos/nickkartashev/Review/events","assignees_url":"https://api.github.com/repos/nickkartashev/Review/assignees{/user}","branches_url":"https://api.github.com/repos/nickkartashev/Review/branches{/branch}","tags_url":"https://api.github.com/repos/nickkartashev/Review/tags","blobs_url":"https://api.github.com/repos/nickkartashev/Review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickkartashev/Review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickkartashev/Review/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickkartashev/Review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickkartashev/Review/statuses/{sha}","languages_url":"https://api.github.com/repos/nickkartashev/Review/languages","stargazers_url":"https://api.github.com/repos/nickkartashev/Review/stargazers","contributors_url":"https://api.github.com/repos/nickkartashev/Review/contributors","subscribers_url":"https://api.github.com/repos/nickkartashev/Review/subscribers","subscription_url":"https://api.github.com/repos/nickkartashev/Review/subscription","commits_url":"https://api.github.com/repos/nickkartashev/Review/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickkartashev/Review/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickkartashev/Review/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickkartashev/Review/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickkartashev/Review/contents/{+path}","compare_url":"https://api.github.com/repos/nickkartashev/Review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickkartashev/Review/merges","archive_url":"https://api.github.com/repos/nickkartashev/Review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickkartashev/Review/downloads","issues_url":"https://api.github.com/repos/nickkartashev/Review/issues{/number}","pulls_url":"https://api.github.com/repos/nickkartashev/Review/pulls{/number}","milestones_url":"https://api.github.com/repos/nickkartashev/Review/milestones{/number}","notifications_url":"https://api.github.com/repos/nickkartashev/Review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickkartashev/Review/labels{/name}","releases_url":"https://api.github.com/repos/nickkartashev/Review/releases{/id}","deployments_url":"https://api.github.com/repos/nickkartashev/Review/deployments","created_at":"2019-03-06T19:15:42Z","updated_at":"2019-03-07T06:23:58Z","pushed_at":"2019-03-25T14:30:32Z","git_url":"git://github.com/nickkartashev/Review.git","ssh_url":"git@github.com:nickkartashev/Review.git","clone_url":"https://github.com/nickkartashev/Review.git","svn_url":"https://github.com/nickkartashev/Review","homepage":"","size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nickkartashev:master","ref":"master","sha":"96de4b281c8b94c7c21cea8a6dcf67b0dd03fae4","user":{"login":"nickkartashev","id":46845165,"node_id":"MDQ6VXNlcjQ2ODQ1MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/46845165?v=4","gravatar_id":"","url":"https://api.github.com/users/nickkartashev","html_url":"https://github.com/nickkartashev","followers_url":"https://api.github.com/users/nickkartashev/followers","following_url":"https://api.github.com/users/nickkartashev/following{/other_user}","gists_url":"https://api.github.com/users/nickkartashev/gists{/gist_id}","starred_url":"https://api.github.com/users/nickkartashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickkartashev/subscriptions","organizations_url":"https://api.github.com/users/nickkartashev/orgs","repos_url":"https://api.github.com/users/nickkartashev/repos","events_url":"https://api.github.com/users/nickkartashev/events{/privacy}","received_events_url":"https://api.github.com/users/nickkartashev/received_events","type":"User","site_admin":false},"repo":{"id":174205453,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQyMDU0NTM=","name":"Review","full_name":"nickkartashev/Review","private":false,"owner":{"login":"nickkartashev","id":46845165,"node_id":"MDQ6VXNlcjQ2ODQ1MTY1","avatar_url":"https://avatars1.githubusercontent.com/u/46845165?v=4","gravatar_id":"","url":"https://api.github.com/users/nickkartashev","html_url":"https://github.com/nickkartashev","followers_url":"https://api.github.com/users/nickkartashev/followers","following_url":"https://api.github.com/users/nickkartashev/following{/other_user}","gists_url":"https://api.github.com/users/nickkartashev/gists{/gist_id}","starred_url":"https://api.github.com/users/nickkartashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickkartashev/subscriptions","organizations_url":"https://api.github.com/users/nickkartashev/orgs","repos_url":"https://api.github.com/users/nickkartashev/repos","events_url":"https://api.github.com/users/nickkartashev/events{/privacy}","received_events_url":"https://api.github.com/users/nickkartashev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nickkartashev/Review","description":null,"fork":false,"url":"https://api.github.com/repos/nickkartashev/Review","forks_url":"https://api.github.com/repos/nickkartashev/Review/forks","keys_url":"https://api.github.com/repos/nickkartashev/Review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickkartashev/Review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickkartashev/Review/teams","hooks_url":"https://api.github.com/repos/nickkartashev/Review/hooks","issue_events_url":"https://api.github.com/repos/nickkartashev/Review/issues/events{/number}","events_url":"https://api.github.com/repos/nickkartashev/Review/events","assignees_url":"https://api.github.com/repos/nickkartashev/Review/assignees{/user}","branches_url":"https://api.github.com/repos/nickkartashev/Review/branches{/branch}","tags_url":"https://api.github.com/repos/nickkartashev/Review/tags","blobs_url":"https://api.github.com/repos/nickkartashev/Review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickkartashev/Review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickkartashev/Review/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickkartashev/Review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickkartashev/Review/statuses/{sha}","languages_url":"https://api.github.com/repos/nickkartashev/Review/languages","stargazers_url":"https://api.github.com/repos/nickkartashev/Review/stargazers","contributors_url":"https://api.github.com/repos/nickkartashev/Review/contributors","subscribers_url":"https://api.github.com/repos/nickkartashev/Review/subscribers","subscription_url":"https://api.github.com/repos/nickkartashev/Review/subscription","commits_url":"https://api.github.com/repos/nickkartashev/Review/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickkartashev/Review/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickkartashev/Review/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickkartashev/Review/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickkartashev/Review/contents/{+path}","compare_url":"https://api.github.com/repos/nickkartashev/Review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickkartashev/Review/merges","archive_url":"https://api.github.com/repos/nickkartashev/Review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickkartashev/Review/downloads","issues_url":"https://api.github.com/repos/nickkartashev/Review/issues{/number}","pulls_url":"https://api.github.com/repos/nickkartashev/Review/pulls{/number}","milestones_url":"https://api.github.com/repos/nickkartashev/Review/milestones{/number}","notifications_url":"https://api.github.com/repos/nickkartashev/Review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickkartashev/Review/labels{/name}","releases_url":"https://api.github.com/repos/nickkartashev/Review/releases{/id}","deployments_url":"https://api.github.com/repos/nickkartashev/Review/deployments","created_at":"2019-03-06T19:15:42Z","updated_at":"2019-03-07T06:23:58Z","pushed_at":"2019-03-25T14:30:32Z","git_url":"git://github.com/nickkartashev/Review.git","ssh_url":"git@github.com:nickkartashev/Review.git","clone_url":"https://github.com/nickkartashev/Review.git","svn_url":"https://github.com/nickkartashev/Review","homepage":"","size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nickkartashev/Review/pulls/1"},"html":{"href":"https://github.com/nickkartashev/Review/pull/1"},"issue":{"href":"https://api.github.com/repos/nickkartashev/Review/issues/1"},"comments":{"href":"https://api.github.com/repos/nickkartashev/Review/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/nickkartashev/Review/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/nickkartashev/Review/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nickkartashev/Review/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/nickkartashev/Review/statuses/a28393c87f3f82fc99616ff11c13eca15f1dc09b"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Skird"}}