{"action":"created","comment":{"url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/comments/224994034","pull_request_review_id":164499954,"id":224994034,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDk5NDAzNA==","diff_hunk":"@@ -1,5 +1,80 @@\n+#include <stdio.h>\n #include <stdlib.h>\n+#include <string.h>\n \n-int main(void) {\n+#define MAX_CHAR 256\n+#define MAX_PATTERN 80\n+#define BLOCK_SIZE 1000\n+\n+static void create_shift_table(int *shift_table, unsigned char *pattern, int pattern_len) {","path":"lab1-0/src/main.c","position":10,"original_position":10,"commit_id":"efdc9c6416437bc8b976138031d2d4c73ebb6332","original_commit_id":"efdc9c6416437bc8b976138031d2d4c73ebb6332","user":{"login":"bobrofon","id":2812655,"node_id":"MDQ6VXNlcjI4MTI2NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/2812655?v=4","gravatar_id":"","url":"https://api.github.com/users/bobrofon","html_url":"https://github.com/bobrofon","followers_url":"https://api.github.com/users/bobrofon/followers","following_url":"https://api.github.com/users/bobrofon/following{/other_user}","gists_url":"https://api.github.com/users/bobrofon/gists{/gist_id}","starred_url":"https://api.github.com/users/bobrofon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobrofon/subscriptions","organizations_url":"https://api.github.com/users/bobrofon/orgs","repos_url":"https://api.github.com/users/bobrofon/repos","events_url":"https://api.github.com/users/bobrofon/events{/privacy}","received_events_url":"https://api.github.com/users/bobrofon/received_events","type":"User","site_admin":false},"body":"По неконстантному указателю передаётся не предполагающий изменения параметр. Далее по коду аналогично.","created_at":"2018-10-14T14:08:07Z","updated_at":"2018-10-14T14:45:52Z","html_url":"https://github.com/bobrofon/nsu_prog_labs/pull/8#discussion_r224994034","pull_request_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/comments/224994034"},"html":{"href":"https://github.com/bobrofon/nsu_prog_labs/pull/8#discussion_r224994034"},"pull_request":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8","id":222538154,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTM4MTU0","html_url":"https://github.com/bobrofon/nsu_prog_labs/pull/8","diff_url":"https://github.com/bobrofon/nsu_prog_labs/pull/8.diff","patch_url":"https://github.com/bobrofon/nsu_prog_labs/pull/8.patch","issue_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues/8","number":8,"state":"open","locked":false,"title":"Сидоров Александр 18212","user":{"login":"a-sidorov","id":43178540,"node_id":"MDQ6VXNlcjQzMTc4NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/43178540?v=4","gravatar_id":"","url":"https://api.github.com/users/a-sidorov","html_url":"https://github.com/a-sidorov","followers_url":"https://api.github.com/users/a-sidorov/followers","following_url":"https://api.github.com/users/a-sidorov/following{/other_user}","gists_url":"https://api.github.com/users/a-sidorov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-sidorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-sidorov/subscriptions","organizations_url":"https://api.github.com/users/a-sidorov/orgs","repos_url":"https://api.github.com/users/a-sidorov/repos","events_url":"https://api.github.com/users/a-sidorov/events{/privacy}","received_events_url":"https://api.github.com/users/a-sidorov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-12T17:41:49Z","updated_at":"2018-10-14T14:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f6cefe5d6ce1fcb82903b981dbf9752dfccc802","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8/commits","review_comments_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8/comments","review_comment_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues/8/comments","statuses_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/statuses/efdc9c6416437bc8b976138031d2d4c73ebb6332","head":{"label":"a-sidorov:master","ref":"master","sha":"efdc9c6416437bc8b976138031d2d4c73ebb6332","user":{"login":"a-sidorov","id":43178540,"node_id":"MDQ6VXNlcjQzMTc4NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/43178540?v=4","gravatar_id":"","url":"https://api.github.com/users/a-sidorov","html_url":"https://github.com/a-sidorov","followers_url":"https://api.github.com/users/a-sidorov/followers","following_url":"https://api.github.com/users/a-sidorov/following{/other_user}","gists_url":"https://api.github.com/users/a-sidorov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-sidorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-sidorov/subscriptions","organizations_url":"https://api.github.com/users/a-sidorov/orgs","repos_url":"https://api.github.com/users/a-sidorov/repos","events_url":"https://api.github.com/users/a-sidorov/events{/privacy}","received_events_url":"https://api.github.com/users/a-sidorov/received_events","type":"User","site_admin":false},"repo":{"id":152785750,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3ODU3NTA=","name":"nsu_prog_labs","full_name":"a-sidorov/nsu_prog_labs","private":false,"owner":{"login":"a-sidorov","id":43178540,"node_id":"MDQ6VXNlcjQzMTc4NTQw","avatar_url":"https://avatars1.githubusercontent.com/u/43178540?v=4","gravatar_id":"","url":"https://api.github.com/users/a-sidorov","html_url":"https://github.com/a-sidorov","followers_url":"https://api.github.com/users/a-sidorov/followers","following_url":"https://api.github.com/users/a-sidorov/following{/other_user}","gists_url":"https://api.github.com/users/a-sidorov/gists{/gist_id}","starred_url":"https://api.github.com/users/a-sidorov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-sidorov/subscriptions","organizations_url":"https://api.github.com/users/a-sidorov/orgs","repos_url":"https://api.github.com/users/a-sidorov/repos","events_url":"https://api.github.com/users/a-sidorov/events{/privacy}","received_events_url":"https://api.github.com/users/a-sidorov/received_events","type":"User","site_admin":false},"html_url":"https://github.com/a-sidorov/nsu_prog_labs","description":"Programming course in Novosibirsk State University","fork":true,"url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs","forks_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/forks","keys_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/teams","hooks_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/hooks","issue_events_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/issues/events{/number}","events_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/events","assignees_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/assignees{/user}","branches_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/branches{/branch}","tags_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/tags","blobs_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/statuses/{sha}","languages_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/languages","stargazers_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/stargazers","contributors_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/contributors","subscribers_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/subscribers","subscription_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/subscription","commits_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/contents/{+path}","compare_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/merges","archive_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/downloads","issues_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/issues{/number}","pulls_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/pulls{/number}","milestones_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/milestones{/number}","notifications_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/labels{/name}","releases_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/releases{/id}","deployments_url":"https://api.github.com/repos/a-sidorov/nsu_prog_labs/deployments","created_at":"2018-10-12T17:29:35Z","updated_at":"2018-10-13T17:35:23Z","pushed_at":"2018-10-13T17:35:21Z","git_url":"git://github.com/a-sidorov/nsu_prog_labs.git","ssh_url":"git@github.com:a-sidorov/nsu_prog_labs.git","clone_url":"https://github.com/a-sidorov/nsu_prog_labs.git","svn_url":"https://github.com/a-sidorov/nsu_prog_labs","homepage":"","size":366,"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":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bobrofon:master","ref":"master","sha":"214f414210cac5ea329fab90384f57a467309732","user":{"login":"bobrofon","id":2812655,"node_id":"MDQ6VXNlcjI4MTI2NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/2812655?v=4","gravatar_id":"","url":"https://api.github.com/users/bobrofon","html_url":"https://github.com/bobrofon","followers_url":"https://api.github.com/users/bobrofon/followers","following_url":"https://api.github.com/users/bobrofon/following{/other_user}","gists_url":"https://api.github.com/users/bobrofon/gists{/gist_id}","starred_url":"https://api.github.com/users/bobrofon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobrofon/subscriptions","organizations_url":"https://api.github.com/users/bobrofon/orgs","repos_url":"https://api.github.com/users/bobrofon/repos","events_url":"https://api.github.com/users/bobrofon/events{/privacy}","received_events_url":"https://api.github.com/users/bobrofon/received_events","type":"User","site_admin":false},"repo":{"id":147659938,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc2NTk5Mzg=","name":"nsu_prog_labs","full_name":"bobrofon/nsu_prog_labs","private":false,"owner":{"login":"bobrofon","id":2812655,"node_id":"MDQ6VXNlcjI4MTI2NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/2812655?v=4","gravatar_id":"","url":"https://api.github.com/users/bobrofon","html_url":"https://github.com/bobrofon","followers_url":"https://api.github.com/users/bobrofon/followers","following_url":"https://api.github.com/users/bobrofon/following{/other_user}","gists_url":"https://api.github.com/users/bobrofon/gists{/gist_id}","starred_url":"https://api.github.com/users/bobrofon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobrofon/subscriptions","organizations_url":"https://api.github.com/users/bobrofon/orgs","repos_url":"https://api.github.com/users/bobrofon/repos","events_url":"https://api.github.com/users/bobrofon/events{/privacy}","received_events_url":"https://api.github.com/users/bobrofon/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bobrofon/nsu_prog_labs","description":"Programming course in Novosibirsk State University","fork":false,"url":"https://api.github.com/repos/bobrofon/nsu_prog_labs","forks_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/forks","keys_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/teams","hooks_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/hooks","issue_events_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues/events{/number}","events_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/events","assignees_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/assignees{/user}","branches_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/branches{/branch}","tags_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/tags","blobs_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/statuses/{sha}","languages_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/languages","stargazers_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/stargazers","contributors_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/contributors","subscribers_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/subscribers","subscription_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/subscription","commits_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/contents/{+path}","compare_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/merges","archive_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/downloads","issues_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues{/number}","pulls_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls{/number}","milestones_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/milestones{/number}","notifications_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/labels{/name}","releases_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/releases{/id}","deployments_url":"https://api.github.com/repos/bobrofon/nsu_prog_labs/deployments","created_at":"2018-09-06T10:53:56Z","updated_at":"2018-10-14T11:50:06Z","pushed_at":"2018-10-14T14:03:28Z","git_url":"git://github.com/bobrofon/nsu_prog_labs.git","ssh_url":"git@github.com:bobrofon/nsu_prog_labs.git","clone_url":"https://github.com/bobrofon/nsu_prog_labs.git","svn_url":"https://github.com/bobrofon/nsu_prog_labs","homepage":"","size":327,"stargazers_count":0,"watchers_count":0,"language":"CMake","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"unlicense","name":"The Unlicense","spdx_id":"Unlicense","url":"https://api.github.com/licenses/unlicense","node_id":"MDc6TGljZW5zZTE1"},"forks":8,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8"},"html":{"href":"https://github.com/bobrofon/nsu_prog_labs/pull/8"},"issue":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues/8"},"comments":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/bobrofon/nsu_prog_labs/statuses/efdc9c6416437bc8b976138031d2d4c73ebb6332"}},"author_association":"NONE"}}
{"actor":{"display_login":"bobrofon"}}