{"action":"created","comment":{"url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/comments/54353505","id":54353505,"diff_hunk":"@@ -0,0 +1,55 @@\n+using System;\n+\n+namespace д.з._1_5\n+{\n+\t/// sorts elements of the matrix\n+\tclass Program\n+\t{\n+\t\t/// sorts elements of the matrix\n+\t\tprivate static void MatrixBubbleSort(int[,] array)\n+\t\t{\n+\t\t\tint n = array.GetLength(0);\n+\t\t\tint m = array.GetLength(1);\n+\t\t\tfor (int i = 0; i < m; i++)\n+\t\t\t{\n+\t\t\t\tfor (int j = m - 1; j > i; j--)\n+\t\t\t\t{\n+\t\t\t\t\tif (array[0, j - 1] > array[0, j])\n+\t\t\t\t\t{\n+\t\t\t\t\t\tfor (int k = 0; k < n; k++)\n+\t\t\t\t\t\t{\n+\t\t\t\t\t\t\tint current = array[k, j - 1];\n+\t\t\t\t\t\t\tarray[k, j - 1] = array[k, j];\n+\t\t\t\t\t\t\tarray[k, j] = current;\n+\t\t\t\t\t\t}\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\t\t\n+\t\tpublic static void Main (string[] args)\n+\t\t{\n+\t\t\tConsole.WriteLine(\"Write number of string and columns:\");\n+\t\t\tint n = int.Parse(Console.ReadLine ());","path":"д.з. 1_5/д.з. 1_5/Program.cs","position":33,"original_position":33,"commit_id":"75d765cc75dd7fb5004a5c9ce422cc84180df63e","original_commit_id":"75d765cc75dd7fb5004a5c9ce422cc84180df63e","user":{"login":"yurii-litvinov","id":706768,"avatar_url":"https://avatars.githubusercontent.com/u/706768?v=3","gravatar_id":"","url":"https://api.github.com/users/yurii-litvinov","html_url":"https://github.com/yurii-litvinov","followers_url":"https://api.github.com/users/yurii-litvinov/followers","following_url":"https://api.github.com/users/yurii-litvinov/following{/other_user}","gists_url":"https://api.github.com/users/yurii-litvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/yurii-litvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurii-litvinov/subscriptions","organizations_url":"https://api.github.com/users/yurii-litvinov/orgs","repos_url":"https://api.github.com/users/yurii-litvinov/repos","events_url":"https://api.github.com/users/yurii-litvinov/events{/privacy}","received_events_url":"https://api.github.com/users/yurii-litvinov/received_events","type":"User","site_admin":false},"body":"перед скобками пробелы не ставятся","created_at":"2016-02-28T17:52:29Z","updated_at":"2016-02-28T17:52:29Z","html_url":"https://github.com/AlexanderKiselyov/Homework/pull/29#discussion_r54353505","pull_request_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/comments/54353505"},"html":{"href":"https://github.com/AlexanderKiselyov/Homework/pull/29#discussion_r54353505"},"pull_request":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29","id":59854168,"html_url":"https://github.com/AlexanderKiselyov/Homework/pull/29","diff_url":"https://github.com/AlexanderKiselyov/Homework/pull/29.diff","patch_url":"https://github.com/AlexanderKiselyov/Homework/pull/29.patch","issue_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/29","number":29,"state":"open","locked":false,"title":"1_5","user":{"login":"AlexanderKiselyov","id":15695857,"avatar_url":"https://avatars.githubusercontent.com/u/15695857?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderKiselyov","html_url":"https://github.com/AlexanderKiselyov","followers_url":"https://api.github.com/users/AlexanderKiselyov/followers","following_url":"https://api.github.com/users/AlexanderKiselyov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderKiselyov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderKiselyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderKiselyov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderKiselyov/orgs","repos_url":"https://api.github.com/users/AlexanderKiselyov/repos","events_url":"https://api.github.com/users/AlexanderKiselyov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderKiselyov/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-18T19:58:26Z","updated_at":"2016-02-28T17:52:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54b17162498c02d3a0ca609be9258230b18accdb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29/commits","review_comments_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29/comments","review_comment_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/29/comments","statuses_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/statuses/75d765cc75dd7fb5004a5c9ce422cc84180df63e","head":{"label":"AlexanderKiselyov:2-semester/1_5","ref":"2-semester/1_5","sha":"75d765cc75dd7fb5004a5c9ce422cc84180df63e","user":{"login":"AlexanderKiselyov","id":15695857,"avatar_url":"https://avatars.githubusercontent.com/u/15695857?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderKiselyov","html_url":"https://github.com/AlexanderKiselyov","followers_url":"https://api.github.com/users/AlexanderKiselyov/followers","following_url":"https://api.github.com/users/AlexanderKiselyov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderKiselyov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderKiselyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderKiselyov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderKiselyov/orgs","repos_url":"https://api.github.com/users/AlexanderKiselyov/repos","events_url":"https://api.github.com/users/AlexanderKiselyov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderKiselyov/received_events","type":"User","site_admin":false},"repo":{"id":47896566,"name":"Homework","full_name":"AlexanderKiselyov/Homework","owner":{"login":"AlexanderKiselyov","id":15695857,"avatar_url":"https://avatars.githubusercontent.com/u/15695857?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderKiselyov","html_url":"https://github.com/AlexanderKiselyov","followers_url":"https://api.github.com/users/AlexanderKiselyov/followers","following_url":"https://api.github.com/users/AlexanderKiselyov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderKiselyov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderKiselyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderKiselyov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderKiselyov/orgs","repos_url":"https://api.github.com/users/AlexanderKiselyov/repos","events_url":"https://api.github.com/users/AlexanderKiselyov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderKiselyov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexanderKiselyov/Homework","description":"","fork":false,"url":"https://api.github.com/repos/AlexanderKiselyov/Homework","forks_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/forks","keys_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/teams","hooks_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/hooks","issue_events_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/events","assignees_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/tags","blobs_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/languages","stargazers_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/stargazers","contributors_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/contributors","subscribers_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/subscribers","subscription_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/subscription","commits_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/merges","archive_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/downloads","issues_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/deployments","created_at":"2015-12-12T22:14:17Z","updated_at":"2016-02-17T14:08:22Z","pushed_at":"2016-02-27T20:02:02Z","git_url":"git://github.com/AlexanderKiselyov/Homework.git","ssh_url":"git@github.com:AlexanderKiselyov/Homework.git","clone_url":"https://github.com/AlexanderKiselyov/Homework.git","svn_url":"https://github.com/AlexanderKiselyov/Homework","homepage":null,"size":409,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"AlexanderKiselyov:master","ref":"master","sha":"4df8fe39a21aba4a8eb8078632e39a95f77c9758","user":{"login":"AlexanderKiselyov","id":15695857,"avatar_url":"https://avatars.githubusercontent.com/u/15695857?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderKiselyov","html_url":"https://github.com/AlexanderKiselyov","followers_url":"https://api.github.com/users/AlexanderKiselyov/followers","following_url":"https://api.github.com/users/AlexanderKiselyov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderKiselyov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderKiselyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderKiselyov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderKiselyov/orgs","repos_url":"https://api.github.com/users/AlexanderKiselyov/repos","events_url":"https://api.github.com/users/AlexanderKiselyov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderKiselyov/received_events","type":"User","site_admin":false},"repo":{"id":47896566,"name":"Homework","full_name":"AlexanderKiselyov/Homework","owner":{"login":"AlexanderKiselyov","id":15695857,"avatar_url":"https://avatars.githubusercontent.com/u/15695857?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderKiselyov","html_url":"https://github.com/AlexanderKiselyov","followers_url":"https://api.github.com/users/AlexanderKiselyov/followers","following_url":"https://api.github.com/users/AlexanderKiselyov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderKiselyov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderKiselyov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderKiselyov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderKiselyov/orgs","repos_url":"https://api.github.com/users/AlexanderKiselyov/repos","events_url":"https://api.github.com/users/AlexanderKiselyov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderKiselyov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AlexanderKiselyov/Homework","description":"","fork":false,"url":"https://api.github.com/repos/AlexanderKiselyov/Homework","forks_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/forks","keys_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/teams","hooks_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/hooks","issue_events_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/events","assignees_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/tags","blobs_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/languages","stargazers_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/stargazers","contributors_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/contributors","subscribers_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/subscribers","subscription_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/subscription","commits_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/merges","archive_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/downloads","issues_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/labels{/name}","releases_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/AlexanderKiselyov/Homework/deployments","created_at":"2015-12-12T22:14:17Z","updated_at":"2016-02-17T14:08:22Z","pushed_at":"2016-02-27T20:02:02Z","git_url":"git://github.com/AlexanderKiselyov/Homework.git","ssh_url":"git@github.com:AlexanderKiselyov/Homework.git","clone_url":"https://github.com/AlexanderKiselyov/Homework.git","svn_url":"https://github.com/AlexanderKiselyov/Homework","homepage":null,"size":409,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29"},"html":{"href":"https://github.com/AlexanderKiselyov/Homework/pull/29"},"issue":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/29"},"comments":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/AlexanderKiselyov/Homework/statuses/75d765cc75dd7fb5004a5c9ce422cc84180df63e"}}}}