{"action":"created","comment":{"url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/comments/93609028","pull_request_review_id":14139881,"id":93609028,"diff_hunk":"@@ -0,0 +1,51 @@\n+#include <iostream>\n+#include <string>\n+#include <vector>\n+#include <algorithm>\n+#include <cmath>\n+#include <stdint.h>\n+\n+using namespace std;\n+\n+inline void keep_window_open()\n+{\n+\tchar ch; \n+\n+\tcin >> ch;\n+}\n+\n+static struct element {\n+\tstring word;\n+\tint value;\n+} dict[] = {\n+\t{.word = \"zero\",  .value = 0},\n+\t{.word = \"one\",   .value = 1},\n+\t{.word = \"two\",   .value = 2},\n+\t{.word = \"three\", .value = 3},\n+\t{.word = \"four\",  .value = 4},\n+};\n+\n+int main()\n+{\n+\tconst size_t sz = sizeof(dict) / sizeof(dict[0]);\n+\tstring input;\n+\n+\twhile(true) {","path":"ch3/exercise/9/9.cpp","position":33,"original_position":33,"commit_id":"ecff8537b95ed5e9569a45dd1b3397541c2fa1b5","original_commit_id":"ecff8537b95ed5e9569a45dd1b3397541c2fa1b5","user":{"login":"TatianaPivovar","id":24609242,"avatar_url":"https://avatars.githubusercontent.com/u/24609242?v=3","gravatar_id":"","url":"https://api.github.com/users/TatianaPivovar","html_url":"https://github.com/TatianaPivovar","followers_url":"https://api.github.com/users/TatianaPivovar/followers","following_url":"https://api.github.com/users/TatianaPivovar/following{/other_user}","gists_url":"https://api.github.com/users/TatianaPivovar/gists{/gist_id}","starred_url":"https://api.github.com/users/TatianaPivovar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TatianaPivovar/subscriptions","organizations_url":"https://api.github.com/users/TatianaPivovar/orgs","repos_url":"https://api.github.com/users/TatianaPivovar/repos","events_url":"https://api.github.com/users/TatianaPivovar/events{/privacy}","received_events_url":"https://api.github.com/users/TatianaPivovar/received_events","type":"User","site_admin":false},"body":"Нажимаю Ctrl+D и получаю бесконечный цикл.","created_at":"2016-12-22T11:38:22Z","updated_at":"2016-12-22T11:38:22Z","html_url":"https://github.com/MiDWalkeR/try_hard/pull/3#discussion_r93609028","pull_request_url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/comments/93609028"},"html":{"href":"https://github.com/MiDWalkeR/try_hard/pull/3#discussion_r93609028"},"pull_request":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3","id":99017097,"html_url":"https://github.com/MiDWalkeR/try_hard/pull/3","diff_url":"https://github.com/MiDWalkeR/try_hard/pull/3.diff","patch_url":"https://github.com/MiDWalkeR/try_hard/pull/3.patch","issue_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/3","number":3,"state":"open","locked":false,"title":"Nobody cares","user":{"login":"MiDWalkeR","id":10272544,"avatar_url":"https://avatars.githubusercontent.com/u/10272544?v=3","gravatar_id":"","url":"https://api.github.com/users/MiDWalkeR","html_url":"https://github.com/MiDWalkeR","followers_url":"https://api.github.com/users/MiDWalkeR/followers","following_url":"https://api.github.com/users/MiDWalkeR/following{/other_user}","gists_url":"https://api.github.com/users/MiDWalkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/MiDWalkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiDWalkeR/subscriptions","organizations_url":"https://api.github.com/users/MiDWalkeR/orgs","repos_url":"https://api.github.com/users/MiDWalkeR/repos","events_url":"https://api.github.com/users/MiDWalkeR/events{/privacy}","received_events_url":"https://api.github.com/users/MiDWalkeR/received_events","type":"User","site_admin":false},"body":"Nobody cares","created_at":"2016-12-21T22:34:17Z","updated_at":"2016-12-22T11:38:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbb2c969e64906f87331e49c018193a44e446773","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/3/comments","statuses_url":"https://api.github.com/repos/MiDWalkeR/try_hard/statuses/ecff8537b95ed5e9569a45dd1b3397541c2fa1b5","head":{"label":"MiDWalkeR:YaroslavL","ref":"YaroslavL","sha":"ecff8537b95ed5e9569a45dd1b3397541c2fa1b5","user":{"login":"MiDWalkeR","id":10272544,"avatar_url":"https://avatars.githubusercontent.com/u/10272544?v=3","gravatar_id":"","url":"https://api.github.com/users/MiDWalkeR","html_url":"https://github.com/MiDWalkeR","followers_url":"https://api.github.com/users/MiDWalkeR/followers","following_url":"https://api.github.com/users/MiDWalkeR/following{/other_user}","gists_url":"https://api.github.com/users/MiDWalkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/MiDWalkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiDWalkeR/subscriptions","organizations_url":"https://api.github.com/users/MiDWalkeR/orgs","repos_url":"https://api.github.com/users/MiDWalkeR/repos","events_url":"https://api.github.com/users/MiDWalkeR/events{/privacy}","received_events_url":"https://api.github.com/users/MiDWalkeR/received_events","type":"User","site_admin":false},"repo":{"id":28351632,"name":"try_hard","full_name":"MiDWalkeR/try_hard","owner":{"login":"MiDWalkeR","id":10272544,"avatar_url":"https://avatars.githubusercontent.com/u/10272544?v=3","gravatar_id":"","url":"https://api.github.com/users/MiDWalkeR","html_url":"https://github.com/MiDWalkeR","followers_url":"https://api.github.com/users/MiDWalkeR/followers","following_url":"https://api.github.com/users/MiDWalkeR/following{/other_user}","gists_url":"https://api.github.com/users/MiDWalkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/MiDWalkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiDWalkeR/subscriptions","organizations_url":"https://api.github.com/users/MiDWalkeR/orgs","repos_url":"https://api.github.com/users/MiDWalkeR/repos","events_url":"https://api.github.com/users/MiDWalkeR/events{/privacy}","received_events_url":"https://api.github.com/users/MiDWalkeR/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MiDWalkeR/try_hard","description":"test repository","fork":false,"url":"https://api.github.com/repos/MiDWalkeR/try_hard","forks_url":"https://api.github.com/repos/MiDWalkeR/try_hard/forks","keys_url":"https://api.github.com/repos/MiDWalkeR/try_hard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MiDWalkeR/try_hard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MiDWalkeR/try_hard/teams","hooks_url":"https://api.github.com/repos/MiDWalkeR/try_hard/hooks","issue_events_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/events{/number}","events_url":"https://api.github.com/repos/MiDWalkeR/try_hard/events","assignees_url":"https://api.github.com/repos/MiDWalkeR/try_hard/assignees{/user}","branches_url":"https://api.github.com/repos/MiDWalkeR/try_hard/branches{/branch}","tags_url":"https://api.github.com/repos/MiDWalkeR/try_hard/tags","blobs_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/refs{/sha}","trees_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MiDWalkeR/try_hard/statuses/{sha}","languages_url":"https://api.github.com/repos/MiDWalkeR/try_hard/languages","stargazers_url":"https://api.github.com/repos/MiDWalkeR/try_hard/stargazers","contributors_url":"https://api.github.com/repos/MiDWalkeR/try_hard/contributors","subscribers_url":"https://api.github.com/repos/MiDWalkeR/try_hard/subscribers","subscription_url":"https://api.github.com/repos/MiDWalkeR/try_hard/subscription","commits_url":"https://api.github.com/repos/MiDWalkeR/try_hard/commits{/sha}","git_commits_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/commits{/sha}","comments_url":"https://api.github.com/repos/MiDWalkeR/try_hard/comments{/number}","issue_comment_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/comments{/number}","contents_url":"https://api.github.com/repos/MiDWalkeR/try_hard/contents/{+path}","compare_url":"https://api.github.com/repos/MiDWalkeR/try_hard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MiDWalkeR/try_hard/merges","archive_url":"https://api.github.com/repos/MiDWalkeR/try_hard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MiDWalkeR/try_hard/downloads","issues_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues{/number}","pulls_url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls{/number}","milestones_url":"https://api.github.com/repos/MiDWalkeR/try_hard/milestones{/number}","notifications_url":"https://api.github.com/repos/MiDWalkeR/try_hard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MiDWalkeR/try_hard/labels{/name}","releases_url":"https://api.github.com/repos/MiDWalkeR/try_hard/releases{/id}","deployments_url":"https://api.github.com/repos/MiDWalkeR/try_hard/deployments","created_at":"2014-12-22T18:07:50Z","updated_at":"2016-12-18T23:02:30Z","pushed_at":"2016-12-21T22:34:17Z","git_url":"git://github.com/MiDWalkeR/try_hard.git","ssh_url":"git@github.com:MiDWalkeR/try_hard.git","clone_url":"https://github.com/MiDWalkeR/try_hard.git","svn_url":"https://github.com/MiDWalkeR/try_hard","homepage":null,"size":560,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"YaroslavL"}},"base":{"label":"MiDWalkeR:master","ref":"master","sha":"19e11c2bbc75c0589c5792ad3bb80c6797975774","user":{"login":"MiDWalkeR","id":10272544,"avatar_url":"https://avatars.githubusercontent.com/u/10272544?v=3","gravatar_id":"","url":"https://api.github.com/users/MiDWalkeR","html_url":"https://github.com/MiDWalkeR","followers_url":"https://api.github.com/users/MiDWalkeR/followers","following_url":"https://api.github.com/users/MiDWalkeR/following{/other_user}","gists_url":"https://api.github.com/users/MiDWalkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/MiDWalkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiDWalkeR/subscriptions","organizations_url":"https://api.github.com/users/MiDWalkeR/orgs","repos_url":"https://api.github.com/users/MiDWalkeR/repos","events_url":"https://api.github.com/users/MiDWalkeR/events{/privacy}","received_events_url":"https://api.github.com/users/MiDWalkeR/received_events","type":"User","site_admin":false},"repo":{"id":28351632,"name":"try_hard","full_name":"MiDWalkeR/try_hard","owner":{"login":"MiDWalkeR","id":10272544,"avatar_url":"https://avatars.githubusercontent.com/u/10272544?v=3","gravatar_id":"","url":"https://api.github.com/users/MiDWalkeR","html_url":"https://github.com/MiDWalkeR","followers_url":"https://api.github.com/users/MiDWalkeR/followers","following_url":"https://api.github.com/users/MiDWalkeR/following{/other_user}","gists_url":"https://api.github.com/users/MiDWalkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/MiDWalkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MiDWalkeR/subscriptions","organizations_url":"https://api.github.com/users/MiDWalkeR/orgs","repos_url":"https://api.github.com/users/MiDWalkeR/repos","events_url":"https://api.github.com/users/MiDWalkeR/events{/privacy}","received_events_url":"https://api.github.com/users/MiDWalkeR/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MiDWalkeR/try_hard","description":"test repository","fork":false,"url":"https://api.github.com/repos/MiDWalkeR/try_hard","forks_url":"https://api.github.com/repos/MiDWalkeR/try_hard/forks","keys_url":"https://api.github.com/repos/MiDWalkeR/try_hard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MiDWalkeR/try_hard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MiDWalkeR/try_hard/teams","hooks_url":"https://api.github.com/repos/MiDWalkeR/try_hard/hooks","issue_events_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/events{/number}","events_url":"https://api.github.com/repos/MiDWalkeR/try_hard/events","assignees_url":"https://api.github.com/repos/MiDWalkeR/try_hard/assignees{/user}","branches_url":"https://api.github.com/repos/MiDWalkeR/try_hard/branches{/branch}","tags_url":"https://api.github.com/repos/MiDWalkeR/try_hard/tags","blobs_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/refs{/sha}","trees_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MiDWalkeR/try_hard/statuses/{sha}","languages_url":"https://api.github.com/repos/MiDWalkeR/try_hard/languages","stargazers_url":"https://api.github.com/repos/MiDWalkeR/try_hard/stargazers","contributors_url":"https://api.github.com/repos/MiDWalkeR/try_hard/contributors","subscribers_url":"https://api.github.com/repos/MiDWalkeR/try_hard/subscribers","subscription_url":"https://api.github.com/repos/MiDWalkeR/try_hard/subscription","commits_url":"https://api.github.com/repos/MiDWalkeR/try_hard/commits{/sha}","git_commits_url":"https://api.github.com/repos/MiDWalkeR/try_hard/git/commits{/sha}","comments_url":"https://api.github.com/repos/MiDWalkeR/try_hard/comments{/number}","issue_comment_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/comments{/number}","contents_url":"https://api.github.com/repos/MiDWalkeR/try_hard/contents/{+path}","compare_url":"https://api.github.com/repos/MiDWalkeR/try_hard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MiDWalkeR/try_hard/merges","archive_url":"https://api.github.com/repos/MiDWalkeR/try_hard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MiDWalkeR/try_hard/downloads","issues_url":"https://api.github.com/repos/MiDWalkeR/try_hard/issues{/number}","pulls_url":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls{/number}","milestones_url":"https://api.github.com/repos/MiDWalkeR/try_hard/milestones{/number}","notifications_url":"https://api.github.com/repos/MiDWalkeR/try_hard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MiDWalkeR/try_hard/labels{/name}","releases_url":"https://api.github.com/repos/MiDWalkeR/try_hard/releases{/id}","deployments_url":"https://api.github.com/repos/MiDWalkeR/try_hard/deployments","created_at":"2014-12-22T18:07:50Z","updated_at":"2016-12-18T23:02:30Z","pushed_at":"2016-12-21T22:34:17Z","git_url":"git://github.com/MiDWalkeR/try_hard.git","ssh_url":"git@github.com:MiDWalkeR/try_hard.git","clone_url":"https://github.com/MiDWalkeR/try_hard.git","svn_url":"https://github.com/MiDWalkeR/try_hard","homepage":null,"size":560,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"YaroslavL"}},"_links":{"self":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3"},"html":{"href":"https://github.com/MiDWalkeR/try_hard/pull/3"},"issue":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/3"},"comments":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MiDWalkeR/try_hard/statuses/ecff8537b95ed5e9569a45dd1b3397541c2fa1b5"}}}}
{"actor":{"display_login":"TatianaPivovar"}}