{"action":"created","comment":{"url":"https://api.github.com/repos/gazprom05/Python_alg/pulls/comments/223354624","pull_request_review_id":162458251,"id":223354624,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzM1NDYyNA==","diff_hunk":"@@ -0,0 +1,51 @@\n+import random\n+import cProfile\n+\n+def try_1(N):\n+    matrix = [[random.randint(0, 100) for _ in range(N)] for _ in range(N * 2)]\n+\n+    # for line in matrix:\n+    #     print(*line, sep='\\t')\n+\n+    max_ = float('-inf')\n+\n+    for j in range(len(matrix[0])):\n+        min_ = matrix[0][j]\n+\n+        for i in range(len(matrix)):\n+            if matrix[i][j] < min_:\n+                min_ = matrix[i][j]\n+\n+        if min_ > max_:\n+            max_ = min_\n+\n+    print(f'Max in min = {max_}')\n+\n+\n+\n+\n+def try_2(N):\n+    array = [[random.randint(0, 100) for _ in range(N)] for _ in range(N * 2)]\n+    # for line in array:\n+    #     print(line)\n+    # print('-' * 10)\n+    array_2 = tuple(zip(*array[::]))\n+\n+    # for line in array_2:\n+    #     print(line)\n+\n+    max_ = 0\n+\n+    for i in array_2:\n+        if min(i) >max_:\n+            max_ = min(i)\n+\n+    print(f'максимальный элемент среди минимальных элементов столбцов матрицы {max_}')\n+\n+\n+N = 10000","path":"Lesson_4/Task1_1.py","position":46,"original_position":46,"commit_id":"f7c5b4dc5b63c0dba223b73b880a74b3a418a8bf","original_commit_id":"f7c5b4dc5b63c0dba223b73b880a74b3a418a8bf","user":{"login":"Dzhoker1","id":31956448,"node_id":"MDQ6VXNlcjMxOTU2NDQ4","avatar_url":"https://avatars2.githubusercontent.com/u/31956448?v=4","gravatar_id":"","url":"https://api.github.com/users/Dzhoker1","html_url":"https://github.com/Dzhoker1","followers_url":"https://api.github.com/users/Dzhoker1/followers","following_url":"https://api.github.com/users/Dzhoker1/following{/other_user}","gists_url":"https://api.github.com/users/Dzhoker1/gists{/gist_id}","starred_url":"https://api.github.com/users/Dzhoker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dzhoker1/subscriptions","organizations_url":"https://api.github.com/users/Dzhoker1/orgs","repos_url":"https://api.github.com/users/Dzhoker1/repos","events_url":"https://api.github.com/users/Dzhoker1/events{/privacy}","received_events_url":"https://api.github.com/users/Dzhoker1/received_events","type":"User","site_admin":false},"body":"По одному замеру для каждого варианта - это не оценка. Минимум 3, чтобы хоть какую-то минимальную динамику увидеть.","created_at":"2018-10-08T13:02:30Z","updated_at":"2018-10-08T13:13:11Z","html_url":"https://github.com/gazprom05/Python_alg/pull/4#discussion_r223354624","pull_request_url":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/gazprom05/Python_alg/pulls/comments/223354624"},"html":{"href":"https://github.com/gazprom05/Python_alg/pull/4#discussion_r223354624"},"pull_request":{"href":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4","id":221100297,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMTAwMjk3","html_url":"https://github.com/gazprom05/Python_alg/pull/4","diff_url":"https://github.com/gazprom05/Python_alg/pull/4.diff","patch_url":"https://github.com/gazprom05/Python_alg/pull/4.patch","issue_url":"https://api.github.com/repos/gazprom05/Python_alg/issues/4","number":4,"state":"open","locked":false,"title":"Lesson 4","user":{"login":"gazprom05","id":40869568,"node_id":"MDQ6VXNlcjQwODY5NTY4","avatar_url":"https://avatars1.githubusercontent.com/u/40869568?v=4","gravatar_id":"","url":"https://api.github.com/users/gazprom05","html_url":"https://github.com/gazprom05","followers_url":"https://api.github.com/users/gazprom05/followers","following_url":"https://api.github.com/users/gazprom05/following{/other_user}","gists_url":"https://api.github.com/users/gazprom05/gists{/gist_id}","starred_url":"https://api.github.com/users/gazprom05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazprom05/subscriptions","organizations_url":"https://api.github.com/users/gazprom05/orgs","repos_url":"https://api.github.com/users/gazprom05/repos","events_url":"https://api.github.com/users/gazprom05/events{/privacy}","received_events_url":"https://api.github.com/users/gazprom05/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-08T12:33:40Z","updated_at":"2018-10-08T13:13:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8555e54ff3501f67f0435268a00bb9860090754","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4/commits","review_comments_url":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4/comments","review_comment_url":"https://api.github.com/repos/gazprom05/Python_alg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gazprom05/Python_alg/issues/4/comments","statuses_url":"https://api.github.com/repos/gazprom05/Python_alg/statuses/f7c5b4dc5b63c0dba223b73b880a74b3a418a8bf","head":{"label":"gazprom05:Lesson_4","ref":"Lesson_4","sha":"f7c5b4dc5b63c0dba223b73b880a74b3a418a8bf","user":{"login":"gazprom05","id":40869568,"node_id":"MDQ6VXNlcjQwODY5NTY4","avatar_url":"https://avatars1.githubusercontent.com/u/40869568?v=4","gravatar_id":"","url":"https://api.github.com/users/gazprom05","html_url":"https://github.com/gazprom05","followers_url":"https://api.github.com/users/gazprom05/followers","following_url":"https://api.github.com/users/gazprom05/following{/other_user}","gists_url":"https://api.github.com/users/gazprom05/gists{/gist_id}","starred_url":"https://api.github.com/users/gazprom05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazprom05/subscriptions","organizations_url":"https://api.github.com/users/gazprom05/orgs","repos_url":"https://api.github.com/users/gazprom05/repos","events_url":"https://api.github.com/users/gazprom05/events{/privacy}","received_events_url":"https://api.github.com/users/gazprom05/received_events","type":"User","site_admin":false},"repo":{"id":150556060,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA1NTYwNjA=","name":"Python_alg","full_name":"gazprom05/Python_alg","private":false,"owner":{"login":"gazprom05","id":40869568,"node_id":"MDQ6VXNlcjQwODY5NTY4","avatar_url":"https://avatars1.githubusercontent.com/u/40869568?v=4","gravatar_id":"","url":"https://api.github.com/users/gazprom05","html_url":"https://github.com/gazprom05","followers_url":"https://api.github.com/users/gazprom05/followers","following_url":"https://api.github.com/users/gazprom05/following{/other_user}","gists_url":"https://api.github.com/users/gazprom05/gists{/gist_id}","starred_url":"https://api.github.com/users/gazprom05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazprom05/subscriptions","organizations_url":"https://api.github.com/users/gazprom05/orgs","repos_url":"https://api.github.com/users/gazprom05/repos","events_url":"https://api.github.com/users/gazprom05/events{/privacy}","received_events_url":"https://api.github.com/users/gazprom05/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gazprom05/Python_alg","description":null,"fork":false,"url":"https://api.github.com/repos/gazprom05/Python_alg","forks_url":"https://api.github.com/repos/gazprom05/Python_alg/forks","keys_url":"https://api.github.com/repos/gazprom05/Python_alg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gazprom05/Python_alg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gazprom05/Python_alg/teams","hooks_url":"https://api.github.com/repos/gazprom05/Python_alg/hooks","issue_events_url":"https://api.github.com/repos/gazprom05/Python_alg/issues/events{/number}","events_url":"https://api.github.com/repos/gazprom05/Python_alg/events","assignees_url":"https://api.github.com/repos/gazprom05/Python_alg/assignees{/user}","branches_url":"https://api.github.com/repos/gazprom05/Python_alg/branches{/branch}","tags_url":"https://api.github.com/repos/gazprom05/Python_alg/tags","blobs_url":"https://api.github.com/repos/gazprom05/Python_alg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gazprom05/Python_alg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gazprom05/Python_alg/git/refs{/sha}","trees_url":"https://api.github.com/repos/gazprom05/Python_alg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gazprom05/Python_alg/statuses/{sha}","languages_url":"https://api.github.com/repos/gazprom05/Python_alg/languages","stargazers_url":"https://api.github.com/repos/gazprom05/Python_alg/stargazers","contributors_url":"https://api.github.com/repos/gazprom05/Python_alg/contributors","subscribers_url":"https://api.github.com/repos/gazprom05/Python_alg/subscribers","subscription_url":"https://api.github.com/repos/gazprom05/Python_alg/subscription","commits_url":"https://api.github.com/repos/gazprom05/Python_alg/commits{/sha}","git_commits_url":"https://api.github.com/repos/gazprom05/Python_alg/git/commits{/sha}","comments_url":"https://api.github.com/repos/gazprom05/Python_alg/comments{/number}","issue_comment_url":"https://api.github.com/repos/gazprom05/Python_alg/issues/comments{/number}","contents_url":"https://api.github.com/repos/gazprom05/Python_alg/contents/{+path}","compare_url":"https://api.github.com/repos/gazprom05/Python_alg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gazprom05/Python_alg/merges","archive_url":"https://api.github.com/repos/gazprom05/Python_alg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gazprom05/Python_alg/downloads","issues_url":"https://api.github.com/repos/gazprom05/Python_alg/issues{/number}","pulls_url":"https://api.github.com/repos/gazprom05/Python_alg/pulls{/number}","milestones_url":"https://api.github.com/repos/gazprom05/Python_alg/milestones{/number}","notifications_url":"https://api.github.com/repos/gazprom05/Python_alg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gazprom05/Python_alg/labels{/name}","releases_url":"https://api.github.com/repos/gazprom05/Python_alg/releases{/id}","deployments_url":"https://api.github.com/repos/gazprom05/Python_alg/deployments","created_at":"2018-09-27T08:43:01Z","updated_at":"2018-09-27T08:43:04Z","pushed_at":"2018-10-08T12:33:41Z","git_url":"git://github.com/gazprom05/Python_alg.git","ssh_url":"git@github.com:gazprom05/Python_alg.git","clone_url":"https://github.com/gazprom05/Python_alg.git","svn_url":"https://github.com/gazprom05/Python_alg","homepage":null,"size":24,"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":4,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"gazprom05:master","ref":"master","sha":"392d2fdd15498a1279eca102268c553a28d009e1","user":{"login":"gazprom05","id":40869568,"node_id":"MDQ6VXNlcjQwODY5NTY4","avatar_url":"https://avatars1.githubusercontent.com/u/40869568?v=4","gravatar_id":"","url":"https://api.github.com/users/gazprom05","html_url":"https://github.com/gazprom05","followers_url":"https://api.github.com/users/gazprom05/followers","following_url":"https://api.github.com/users/gazprom05/following{/other_user}","gists_url":"https://api.github.com/users/gazprom05/gists{/gist_id}","starred_url":"https://api.github.com/users/gazprom05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazprom05/subscriptions","organizations_url":"https://api.github.com/users/gazprom05/orgs","repos_url":"https://api.github.com/users/gazprom05/repos","events_url":"https://api.github.com/users/gazprom05/events{/privacy}","received_events_url":"https://api.github.com/users/gazprom05/received_events","type":"User","site_admin":false},"repo":{"id":150556060,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA1NTYwNjA=","name":"Python_alg","full_name":"gazprom05/Python_alg","private":false,"owner":{"login":"gazprom05","id":40869568,"node_id":"MDQ6VXNlcjQwODY5NTY4","avatar_url":"https://avatars1.githubusercontent.com/u/40869568?v=4","gravatar_id":"","url":"https://api.github.com/users/gazprom05","html_url":"https://github.com/gazprom05","followers_url":"https://api.github.com/users/gazprom05/followers","following_url":"https://api.github.com/users/gazprom05/following{/other_user}","gists_url":"https://api.github.com/users/gazprom05/gists{/gist_id}","starred_url":"https://api.github.com/users/gazprom05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gazprom05/subscriptions","organizations_url":"https://api.github.com/users/gazprom05/orgs","repos_url":"https://api.github.com/users/gazprom05/repos","events_url":"https://api.github.com/users/gazprom05/events{/privacy}","received_events_url":"https://api.github.com/users/gazprom05/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gazprom05/Python_alg","description":null,"fork":false,"url":"https://api.github.com/repos/gazprom05/Python_alg","forks_url":"https://api.github.com/repos/gazprom05/Python_alg/forks","keys_url":"https://api.github.com/repos/gazprom05/Python_alg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gazprom05/Python_alg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gazprom05/Python_alg/teams","hooks_url":"https://api.github.com/repos/gazprom05/Python_alg/hooks","issue_events_url":"https://api.github.com/repos/gazprom05/Python_alg/issues/events{/number}","events_url":"https://api.github.com/repos/gazprom05/Python_alg/events","assignees_url":"https://api.github.com/repos/gazprom05/Python_alg/assignees{/user}","branches_url":"https://api.github.com/repos/gazprom05/Python_alg/branches{/branch}","tags_url":"https://api.github.com/repos/gazprom05/Python_alg/tags","blobs_url":"https://api.github.com/repos/gazprom05/Python_alg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gazprom05/Python_alg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gazprom05/Python_alg/git/refs{/sha}","trees_url":"https://api.github.com/repos/gazprom05/Python_alg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gazprom05/Python_alg/statuses/{sha}","languages_url":"https://api.github.com/repos/gazprom05/Python_alg/languages","stargazers_url":"https://api.github.com/repos/gazprom05/Python_alg/stargazers","contributors_url":"https://api.github.com/repos/gazprom05/Python_alg/contributors","subscribers_url":"https://api.github.com/repos/gazprom05/Python_alg/subscribers","subscription_url":"https://api.github.com/repos/gazprom05/Python_alg/subscription","commits_url":"https://api.github.com/repos/gazprom05/Python_alg/commits{/sha}","git_commits_url":"https://api.github.com/repos/gazprom05/Python_alg/git/commits{/sha}","comments_url":"https://api.github.com/repos/gazprom05/Python_alg/comments{/number}","issue_comment_url":"https://api.github.com/repos/gazprom05/Python_alg/issues/comments{/number}","contents_url":"https://api.github.com/repos/gazprom05/Python_alg/contents/{+path}","compare_url":"https://api.github.com/repos/gazprom05/Python_alg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gazprom05/Python_alg/merges","archive_url":"https://api.github.com/repos/gazprom05/Python_alg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gazprom05/Python_alg/downloads","issues_url":"https://api.github.com/repos/gazprom05/Python_alg/issues{/number}","pulls_url":"https://api.github.com/repos/gazprom05/Python_alg/pulls{/number}","milestones_url":"https://api.github.com/repos/gazprom05/Python_alg/milestones{/number}","notifications_url":"https://api.github.com/repos/gazprom05/Python_alg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gazprom05/Python_alg/labels{/name}","releases_url":"https://api.github.com/repos/gazprom05/Python_alg/releases{/id}","deployments_url":"https://api.github.com/repos/gazprom05/Python_alg/deployments","created_at":"2018-09-27T08:43:01Z","updated_at":"2018-09-27T08:43:04Z","pushed_at":"2018-10-08T12:33:41Z","git_url":"git://github.com/gazprom05/Python_alg.git","ssh_url":"git@github.com:gazprom05/Python_alg.git","clone_url":"https://github.com/gazprom05/Python_alg.git","svn_url":"https://github.com/gazprom05/Python_alg","homepage":null,"size":24,"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":4,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4"},"html":{"href":"https://github.com/gazprom05/Python_alg/pull/4"},"issue":{"href":"https://api.github.com/repos/gazprom05/Python_alg/issues/4"},"comments":{"href":"https://api.github.com/repos/gazprom05/Python_alg/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/gazprom05/Python_alg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gazprom05/Python_alg/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/gazprom05/Python_alg/statuses/f7c5b4dc5b63c0dba223b73b880a74b3a418a8bf"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Dzhoker1"}}