{"action":"created","comment":{"url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/comments/135418341","pull_request_review_id":58828784,"id":135418341,"diff_hunk":"@@ -0,0 +1,38 @@\n+// Spent: 20m\n+// Result: OK\n+// Failed to go without [] because of loperand errors - really need to discuss!\n+\n+#include <iostream>\n+using namespace std;\n+\n+int * invert(int * array, int size){\n+\t\n+\tfor (int i = 0, j = size - 1; i < size / 2; i++, j--){\n+\t\n+\t\tarray[i] += array[j];","path":"1.Inversion.cpp","position":12,"original_position":12,"commit_id":"af6a2b8900def98949c6a425068672da7b279b3f","original_commit_id":"af6a2b8900def98949c6a425068672da7b279b3f","user":{"login":"sinyakov","id":7476934,"avatar_url":"https://avatars1.githubusercontent.com/u/7476934?v=4","gravatar_id":"","url":"https://api.github.com/users/sinyakov","html_url":"https://github.com/sinyakov","followers_url":"https://api.github.com/users/sinyakov/followers","following_url":"https://api.github.com/users/sinyakov/following{/other_user}","gists_url":"https://api.github.com/users/sinyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/sinyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinyakov/subscriptions","organizations_url":"https://api.github.com/users/sinyakov/orgs","repos_url":"https://api.github.com/users/sinyakov/repos","events_url":"https://api.github.com/users/sinyakov/events{/privacy}","received_events_url":"https://api.github.com/users/sinyakov/received_events","type":"User","site_admin":false},"body":"Вообще, есть такая станадартная функция swap.\r\nРаз мы понимаем, как оно внутри устроено, можем пользоваться ей\r\nhttp://ru.cppreference.com/w/cpp/algorithm/swap","created_at":"2017-08-27T18:41:25Z","updated_at":"2017-08-27T18:42:03Z","html_url":"https://github.com/Trage111/TheVeryFirst-Veronika/pull/2#discussion_r135418341","pull_request_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/comments/135418341"},"html":{"href":"https://github.com/Trage111/TheVeryFirst-Veronika/pull/2#discussion_r135418341"},"pull_request":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2"}},"in_reply_to_id":135418092},"pull_request":{"url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2","id":137842626,"html_url":"https://github.com/Trage111/TheVeryFirst-Veronika/pull/2","diff_url":"https://github.com/Trage111/TheVeryFirst-Veronika/pull/2.diff","patch_url":"https://github.com/Trage111/TheVeryFirst-Veronika/pull/2.patch","issue_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/2","number":2,"state":"open","locked":false,"title":"Hw2","user":{"login":"Trage111","id":31367406,"avatar_url":"https://avatars3.githubusercontent.com/u/31367406?v=4","gravatar_id":"","url":"https://api.github.com/users/Trage111","html_url":"https://github.com/Trage111","followers_url":"https://api.github.com/users/Trage111/followers","following_url":"https://api.github.com/users/Trage111/following{/other_user}","gists_url":"https://api.github.com/users/Trage111/gists{/gist_id}","starred_url":"https://api.github.com/users/Trage111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trage111/subscriptions","organizations_url":"https://api.github.com/users/Trage111/orgs","repos_url":"https://api.github.com/users/Trage111/repos","events_url":"https://api.github.com/users/Trage111/events{/privacy}","received_events_url":"https://api.github.com/users/Trage111/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-27T18:13:51Z","updated_at":"2017-08-27T18:42:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01c4e74c691d82adb90c8a66b8f12e2827bfc0b1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/2/comments","statuses_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/statuses/af6a2b8900def98949c6a425068672da7b279b3f","head":{"label":"Trage111:hw2","ref":"hw2","sha":"af6a2b8900def98949c6a425068672da7b279b3f","user":{"login":"Trage111","id":31367406,"avatar_url":"https://avatars3.githubusercontent.com/u/31367406?v=4","gravatar_id":"","url":"https://api.github.com/users/Trage111","html_url":"https://github.com/Trage111","followers_url":"https://api.github.com/users/Trage111/followers","following_url":"https://api.github.com/users/Trage111/following{/other_user}","gists_url":"https://api.github.com/users/Trage111/gists{/gist_id}","starred_url":"https://api.github.com/users/Trage111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trage111/subscriptions","organizations_url":"https://api.github.com/users/Trage111/orgs","repos_url":"https://api.github.com/users/Trage111/repos","events_url":"https://api.github.com/users/Trage111/events{/privacy}","received_events_url":"https://api.github.com/users/Trage111/received_events","type":"User","site_admin":false},"repo":{"id":101480284,"name":"TheVeryFirst-Veronika","full_name":"Trage111/TheVeryFirst-Veronika","owner":{"login":"Trage111","id":31367406,"avatar_url":"https://avatars3.githubusercontent.com/u/31367406?v=4","gravatar_id":"","url":"https://api.github.com/users/Trage111","html_url":"https://github.com/Trage111","followers_url":"https://api.github.com/users/Trage111/followers","following_url":"https://api.github.com/users/Trage111/following{/other_user}","gists_url":"https://api.github.com/users/Trage111/gists{/gist_id}","starred_url":"https://api.github.com/users/Trage111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trage111/subscriptions","organizations_url":"https://api.github.com/users/Trage111/orgs","repos_url":"https://api.github.com/users/Trage111/repos","events_url":"https://api.github.com/users/Trage111/events{/privacy}","received_events_url":"https://api.github.com/users/Trage111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Trage111/TheVeryFirst-Veronika","description":null,"fork":false,"url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika","forks_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/forks","keys_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/teams","hooks_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/hooks","issue_events_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/events{/number}","events_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/events","assignees_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/assignees{/user}","branches_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/branches{/branch}","tags_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/tags","blobs_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/refs{/sha}","trees_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/statuses/{sha}","languages_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/languages","stargazers_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/stargazers","contributors_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/contributors","subscribers_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/subscribers","subscription_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/subscription","commits_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/commits{/sha}","git_commits_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/commits{/sha}","comments_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/comments{/number}","issue_comment_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/comments{/number}","contents_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/contents/{+path}","compare_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/merges","archive_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/downloads","issues_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues{/number}","pulls_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls{/number}","milestones_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/milestones{/number}","notifications_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/labels{/name}","releases_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/releases{/id}","deployments_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/deployments","created_at":"2017-08-26T10:56:32Z","updated_at":"2017-08-26T11:13:25Z","pushed_at":"2017-08-27T18:13:52Z","git_url":"git://github.com/Trage111/TheVeryFirst-Veronika.git","ssh_url":"git@github.com:Trage111/TheVeryFirst-Veronika.git","clone_url":"https://github.com/Trage111/TheVeryFirst-Veronika.git","svn_url":"https://github.com/Trage111/TheVeryFirst-Veronika","homepage":null,"size":9,"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,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Trage111:master","ref":"master","sha":"3685741b2165a9c15f742105e93cc8912c1a058a","user":{"login":"Trage111","id":31367406,"avatar_url":"https://avatars3.githubusercontent.com/u/31367406?v=4","gravatar_id":"","url":"https://api.github.com/users/Trage111","html_url":"https://github.com/Trage111","followers_url":"https://api.github.com/users/Trage111/followers","following_url":"https://api.github.com/users/Trage111/following{/other_user}","gists_url":"https://api.github.com/users/Trage111/gists{/gist_id}","starred_url":"https://api.github.com/users/Trage111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trage111/subscriptions","organizations_url":"https://api.github.com/users/Trage111/orgs","repos_url":"https://api.github.com/users/Trage111/repos","events_url":"https://api.github.com/users/Trage111/events{/privacy}","received_events_url":"https://api.github.com/users/Trage111/received_events","type":"User","site_admin":false},"repo":{"id":101480284,"name":"TheVeryFirst-Veronika","full_name":"Trage111/TheVeryFirst-Veronika","owner":{"login":"Trage111","id":31367406,"avatar_url":"https://avatars3.githubusercontent.com/u/31367406?v=4","gravatar_id":"","url":"https://api.github.com/users/Trage111","html_url":"https://github.com/Trage111","followers_url":"https://api.github.com/users/Trage111/followers","following_url":"https://api.github.com/users/Trage111/following{/other_user}","gists_url":"https://api.github.com/users/Trage111/gists{/gist_id}","starred_url":"https://api.github.com/users/Trage111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trage111/subscriptions","organizations_url":"https://api.github.com/users/Trage111/orgs","repos_url":"https://api.github.com/users/Trage111/repos","events_url":"https://api.github.com/users/Trage111/events{/privacy}","received_events_url":"https://api.github.com/users/Trage111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Trage111/TheVeryFirst-Veronika","description":null,"fork":false,"url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika","forks_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/forks","keys_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/teams","hooks_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/hooks","issue_events_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/events{/number}","events_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/events","assignees_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/assignees{/user}","branches_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/branches{/branch}","tags_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/tags","blobs_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/refs{/sha}","trees_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/statuses/{sha}","languages_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/languages","stargazers_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/stargazers","contributors_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/contributors","subscribers_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/subscribers","subscription_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/subscription","commits_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/commits{/sha}","git_commits_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/git/commits{/sha}","comments_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/comments{/number}","issue_comment_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/comments{/number}","contents_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/contents/{+path}","compare_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/merges","archive_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/downloads","issues_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues{/number}","pulls_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls{/number}","milestones_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/milestones{/number}","notifications_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/labels{/name}","releases_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/releases{/id}","deployments_url":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/deployments","created_at":"2017-08-26T10:56:32Z","updated_at":"2017-08-26T11:13:25Z","pushed_at":"2017-08-27T18:13:52Z","git_url":"git://github.com/Trage111/TheVeryFirst-Veronika.git","ssh_url":"git@github.com:Trage111/TheVeryFirst-Veronika.git","clone_url":"https://github.com/Trage111/TheVeryFirst-Veronika.git","svn_url":"https://github.com/Trage111/TheVeryFirst-Veronika","homepage":null,"size":9,"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,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2"},"html":{"href":"https://github.com/Trage111/TheVeryFirst-Veronika/pull/2"},"issue":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/2"},"comments":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Trage111/TheVeryFirst-Veronika/statuses/af6a2b8900def98949c6a425068672da7b279b3f"}}}}
{"actor":{"display_login":"sinyakov"}}