{"action":"created","comment":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/84265907","pull_request_review_id":5051790,"id":84265907,"diff_hunk":"@@ -96,7 +136,13 @@ fun maxDivisor(n: Int): Int = TODO()\n  * Взаимно простые числа не имеют общих делителей, кроме 1.\n  * Например, 25 и 49 взаимно простые, а 6 и 8 -- нет.\n  */\n-fun isCoPrime(m: Int, n: Int): Boolean = TODO()\n+fun isCoPrime(m: Int, n: Int): Boolean {\n+    val mn = Math.min(m, n)\n+    for (i in 2..mn){\n+        if (m%i == 0 && n%i ==0) return false","path":"src/lesson3/task1/Loop.kt","position":82,"original_position":82,"commit_id":"5a723c132e5ffdb1dbe6a1b4ffb5b3c06849c992","original_commit_id":"5a723c132e5ffdb1dbe6a1b4ffb5b3c06849c992","user":{"login":"ice-phoenix","id":1929610,"avatar_url":"https://avatars.githubusercontent.com/u/1929610?v=3","gravatar_id":"","url":"https://api.github.com/users/ice-phoenix","html_url":"https://github.com/ice-phoenix","followers_url":"https://api.github.com/users/ice-phoenix/followers","following_url":"https://api.github.com/users/ice-phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ice-phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-phoenix/subscriptions","organizations_url":"https://api.github.com/users/ice-phoenix/orgs","repos_url":"https://api.github.com/users/ice-phoenix/repos","events_url":"https://api.github.com/users/ice-phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ice-phoenix/received_events","type":"User","site_admin":false},"body":"Можно ли решить эту задачу при помощи других функций, разработанных вами в этом модуле?","created_at":"2016-10-20T11:54:25Z","updated_at":"2016-10-20T11:55:30Z","html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/101#discussion_r84265907","pull_request_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/84265907"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/101#discussion_r84265907"},"pull_request":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101","id":86304709,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/101","diff_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/101.diff","patch_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/101.patch","issue_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/101","number":101,"state":"open","locked":false,"title":"Решение задач урок 1,2","user":{"login":"buithuynhung","id":22062703,"avatar_url":"https://avatars.githubusercontent.com/u/22062703?v=3","gravatar_id":"","url":"https://api.github.com/users/buithuynhung","html_url":"https://github.com/buithuynhung","followers_url":"https://api.github.com/users/buithuynhung/followers","following_url":"https://api.github.com/users/buithuynhung/following{/other_user}","gists_url":"https://api.github.com/users/buithuynhung/gists{/gist_id}","starred_url":"https://api.github.com/users/buithuynhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buithuynhung/subscriptions","organizations_url":"https://api.github.com/users/buithuynhung/orgs","repos_url":"https://api.github.com/users/buithuynhung/repos","events_url":"https://api.github.com/users/buithuynhung/events{/privacy}","received_events_url":"https://api.github.com/users/buithuynhung/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-22T09:31:50Z","updated_at":"2016-10-20T11:55:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b77f3d463224218d979d4a04d2afa0f90b83090f","assignee":{"login":"ice-phoenix","id":1929610,"avatar_url":"https://avatars.githubusercontent.com/u/1929610?v=3","gravatar_id":"","url":"https://api.github.com/users/ice-phoenix","html_url":"https://github.com/ice-phoenix","followers_url":"https://api.github.com/users/ice-phoenix/followers","following_url":"https://api.github.com/users/ice-phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ice-phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-phoenix/subscriptions","organizations_url":"https://api.github.com/users/ice-phoenix/orgs","repos_url":"https://api.github.com/users/ice-phoenix/repos","events_url":"https://api.github.com/users/ice-phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ice-phoenix/received_events","type":"User","site_admin":false},"assignees":[{"login":"ice-phoenix","id":1929610,"avatar_url":"https://avatars.githubusercontent.com/u/1929610?v=3","gravatar_id":"","url":"https://api.github.com/users/ice-phoenix","html_url":"https://github.com/ice-phoenix","followers_url":"https://api.github.com/users/ice-phoenix/followers","following_url":"https://api.github.com/users/ice-phoenix/following{/other_user}","gists_url":"https://api.github.com/users/ice-phoenix/gists{/gist_id}","starred_url":"https://api.github.com/users/ice-phoenix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ice-phoenix/subscriptions","organizations_url":"https://api.github.com/users/ice-phoenix/orgs","repos_url":"https://api.github.com/users/ice-phoenix/repos","events_url":"https://api.github.com/users/ice-phoenix/events{/privacy}","received_events_url":"https://api.github.com/users/ice-phoenix/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101/commits","review_comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101/comments","review_comment_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/101/comments","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/5a723c132e5ffdb1dbe6a1b4ffb5b3c06849c992","head":{"label":"buithuynhung:master","ref":"master","sha":"5a723c132e5ffdb1dbe6a1b4ffb5b3c06849c992","user":{"login":"buithuynhung","id":22062703,"avatar_url":"https://avatars.githubusercontent.com/u/22062703?v=3","gravatar_id":"","url":"https://api.github.com/users/buithuynhung","html_url":"https://github.com/buithuynhung","followers_url":"https://api.github.com/users/buithuynhung/followers","following_url":"https://api.github.com/users/buithuynhung/following{/other_user}","gists_url":"https://api.github.com/users/buithuynhung/gists{/gist_id}","starred_url":"https://api.github.com/users/buithuynhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buithuynhung/subscriptions","organizations_url":"https://api.github.com/users/buithuynhung/orgs","repos_url":"https://api.github.com/users/buithuynhung/repos","events_url":"https://api.github.com/users/buithuynhung/events{/privacy}","received_events_url":"https://api.github.com/users/buithuynhung/received_events","type":"User","site_admin":false},"repo":{"id":67688258,"name":"KotlinAsFirst2016","full_name":"buithuynhung/KotlinAsFirst2016","owner":{"login":"buithuynhung","id":22062703,"avatar_url":"https://avatars.githubusercontent.com/u/22062703?v=3","gravatar_id":"","url":"https://api.github.com/users/buithuynhung","html_url":"https://github.com/buithuynhung","followers_url":"https://api.github.com/users/buithuynhung/followers","following_url":"https://api.github.com/users/buithuynhung/following{/other_user}","gists_url":"https://api.github.com/users/buithuynhung/gists{/gist_id}","starred_url":"https://api.github.com/users/buithuynhung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buithuynhung/subscriptions","organizations_url":"https://api.github.com/users/buithuynhung/orgs","repos_url":"https://api.github.com/users/buithuynhung/repos","events_url":"https://api.github.com/users/buithuynhung/events{/privacy}","received_events_url":"https://api.github.com/users/buithuynhung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/buithuynhung/KotlinAsFirst2016","description":null,"fork":true,"url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/buithuynhung/KotlinAsFirst2016/deployments","created_at":"2016-09-08T09:19:57Z","updated_at":"2016-09-08T09:19:59Z","pushed_at":"2016-10-19T21:19:13Z","git_url":"git://github.com/buithuynhung/KotlinAsFirst2016.git","ssh_url":"git@github.com:buithuynhung/KotlinAsFirst2016.git","clone_url":"https://github.com/buithuynhung/KotlinAsFirst2016.git","svn_url":"https://github.com/buithuynhung/KotlinAsFirst2016","homepage":null,"size":14867,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"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":"master"}},"base":{"label":"Kotlin-Polytech:master","ref":"master","sha":"feca01237894061c262fb94bfdc9020037c2a1f3","user":{"login":"Kotlin-Polytech","id":20967488,"avatar_url":"https://avatars.githubusercontent.com/u/20967488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotlin-Polytech","html_url":"https://github.com/Kotlin-Polytech","followers_url":"https://api.github.com/users/Kotlin-Polytech/followers","following_url":"https://api.github.com/users/Kotlin-Polytech/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin-Polytech/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin-Polytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin-Polytech/subscriptions","organizations_url":"https://api.github.com/users/Kotlin-Polytech/orgs","repos_url":"https://api.github.com/users/Kotlin-Polytech/repos","events_url":"https://api.github.com/users/Kotlin-Polytech/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin-Polytech/received_events","type":"Organization","site_admin":false},"repo":{"id":67405509,"name":"KotlinAsFirst2016","full_name":"Kotlin-Polytech/KotlinAsFirst2016","owner":{"login":"Kotlin-Polytech","id":20967488,"avatar_url":"https://avatars.githubusercontent.com/u/20967488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kotlin-Polytech","html_url":"https://github.com/Kotlin-Polytech","followers_url":"https://api.github.com/users/Kotlin-Polytech/followers","following_url":"https://api.github.com/users/Kotlin-Polytech/following{/other_user}","gists_url":"https://api.github.com/users/Kotlin-Polytech/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotlin-Polytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotlin-Polytech/subscriptions","organizations_url":"https://api.github.com/users/Kotlin-Polytech/orgs","repos_url":"https://api.github.com/users/Kotlin-Polytech/repos","events_url":"https://api.github.com/users/Kotlin-Polytech/events{/privacy}","received_events_url":"https://api.github.com/users/Kotlin-Polytech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016","description":null,"fork":false,"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/deployments","created_at":"2016-09-05T09:06:26Z","updated_at":"2016-10-12T13:26:18Z","pushed_at":"2016-10-20T10:33:51Z","git_url":"git://github.com/Kotlin-Polytech/KotlinAsFirst2016.git","ssh_url":"git@github.com:Kotlin-Polytech/KotlinAsFirst2016.git","clone_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016.git","svn_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016","homepage":null,"size":16303,"stargazers_count":14,"watchers_count":14,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":67,"forks":97,"open_issues":67,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/101"},"issue":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/101"},"comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/5a723c132e5ffdb1dbe6a1b4ffb5b3c06849c992"}}}}
{"actor":{"display_login":"ice-phoenix"}}