{"action":"created","comment":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/81200261","pull_request_review_id":2197896,"id":81200261,"diff_hunk":"@@ -102,12 +108,12 @@ fun travelMinutes(hoursDepart: Int, minutesDepart: Int, hoursArrive: Int, minute\n  * Сколько денег будет на счету через 3 года (с учётом сложных процентов)?\n  * Например, 100 рублей под 10% годовых превратятся в 133.1 рубля\n  */\n-fun accountInThreeYears(initial: Int, percent: Int): Double = TODO()\n+fun accountInThreeYears(initial: Int, percent: Int): Double = (initial * pow(percent * 0.01 + 1, 3.0))\n \n /**\n  * Простая\n  *\n  * Пользователь задает целое трехзначное число (например, 478).\n  *Необходимо вывести число, полученное из заданного перестановкой цифр в обратном порядке (например, 874).\n  */\n-fun numberRevert(number: Int): Int = TODO()\n+fun numberRevert(number: Int): Int = (number / 100 + number / 10 % 10 * 10 + number % 10 * 100)","path":"src/lesson1/task1/Simple.kt","position":87,"original_position":88,"commit_id":"7e5f2784b3e0181d0d2650d801a860333badbdcf","original_commit_id":"7e5f2784b3e0181d0d2650d801a860333badbdcf","user":{"login":"belyaev-mikhail","id":2496075,"avatar_url":"https://avatars.githubusercontent.com/u/2496075?v=3","gravatar_id":"","url":"https://api.github.com/users/belyaev-mikhail","html_url":"https://github.com/belyaev-mikhail","followers_url":"https://api.github.com/users/belyaev-mikhail/followers","following_url":"https://api.github.com/users/belyaev-mikhail/following{/other_user}","gists_url":"https://api.github.com/users/belyaev-mikhail/gists{/gist_id}","starred_url":"https://api.github.com/users/belyaev-mikhail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belyaev-mikhail/subscriptions","organizations_url":"https://api.github.com/users/belyaev-mikhail/orgs","repos_url":"https://api.github.com/users/belyaev-mikhail/repos","events_url":"https://api.github.com/users/belyaev-mikhail/events{/privacy}","received_events_url":"https://api.github.com/users/belyaev-mikhail/received_events","type":"User","site_admin":false},"body":"Аналогично","created_at":"2016-09-29T18:12:44Z","updated_at":"2016-09-29T18:13:05Z","html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/127#discussion_r81200261","pull_request_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127","_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/comments/81200261"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/127#discussion_r81200261"},"pull_request":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127"}}},"pull_request":{"url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127","id":87276385,"html_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/127","diff_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/127.diff","patch_url":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/127.patch","issue_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/127","number":127,"state":"open","locked":false,"title":"Lesson 1, task 1","user":{"login":"ehaidari77","id":22072912,"avatar_url":"https://avatars.githubusercontent.com/u/22072912?v=3","gravatar_id":"","url":"https://api.github.com/users/ehaidari77","html_url":"https://github.com/ehaidari77","followers_url":"https://api.github.com/users/ehaidari77/followers","following_url":"https://api.github.com/users/ehaidari77/following{/other_user}","gists_url":"https://api.github.com/users/ehaidari77/gists{/gist_id}","starred_url":"https://api.github.com/users/ehaidari77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehaidari77/subscriptions","organizations_url":"https://api.github.com/users/ehaidari77/orgs","repos_url":"https://api.github.com/users/ehaidari77/repos","events_url":"https://api.github.com/users/ehaidari77/events{/privacy}","received_events_url":"https://api.github.com/users/ehaidari77/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-29T09:29:43Z","updated_at":"2016-09-29T18:13:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1403be00d5fc26f01c8e5af5015b6986afefe75d","assignee":{"login":"belyaev-mikhail","id":2496075,"avatar_url":"https://avatars.githubusercontent.com/u/2496075?v=3","gravatar_id":"","url":"https://api.github.com/users/belyaev-mikhail","html_url":"https://github.com/belyaev-mikhail","followers_url":"https://api.github.com/users/belyaev-mikhail/followers","following_url":"https://api.github.com/users/belyaev-mikhail/following{/other_user}","gists_url":"https://api.github.com/users/belyaev-mikhail/gists{/gist_id}","starred_url":"https://api.github.com/users/belyaev-mikhail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belyaev-mikhail/subscriptions","organizations_url":"https://api.github.com/users/belyaev-mikhail/orgs","repos_url":"https://api.github.com/users/belyaev-mikhail/repos","events_url":"https://api.github.com/users/belyaev-mikhail/events{/privacy}","received_events_url":"https://api.github.com/users/belyaev-mikhail/received_events","type":"User","site_admin":false},"assignees":[{"login":"belyaev-mikhail","id":2496075,"avatar_url":"https://avatars.githubusercontent.com/u/2496075?v=3","gravatar_id":"","url":"https://api.github.com/users/belyaev-mikhail","html_url":"https://github.com/belyaev-mikhail","followers_url":"https://api.github.com/users/belyaev-mikhail/followers","following_url":"https://api.github.com/users/belyaev-mikhail/following{/other_user}","gists_url":"https://api.github.com/users/belyaev-mikhail/gists{/gist_id}","starred_url":"https://api.github.com/users/belyaev-mikhail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belyaev-mikhail/subscriptions","organizations_url":"https://api.github.com/users/belyaev-mikhail/orgs","repos_url":"https://api.github.com/users/belyaev-mikhail/repos","events_url":"https://api.github.com/users/belyaev-mikhail/events{/privacy}","received_events_url":"https://api.github.com/users/belyaev-mikhail/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127/commits","review_comments_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127/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/127/comments","statuses_url":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/7e5f2784b3e0181d0d2650d801a860333badbdcf","head":{"label":"ehaidari77:master","ref":"master","sha":"7e5f2784b3e0181d0d2650d801a860333badbdcf","user":{"login":"ehaidari77","id":22072912,"avatar_url":"https://avatars.githubusercontent.com/u/22072912?v=3","gravatar_id":"","url":"https://api.github.com/users/ehaidari77","html_url":"https://github.com/ehaidari77","followers_url":"https://api.github.com/users/ehaidari77/followers","following_url":"https://api.github.com/users/ehaidari77/following{/other_user}","gists_url":"https://api.github.com/users/ehaidari77/gists{/gist_id}","starred_url":"https://api.github.com/users/ehaidari77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehaidari77/subscriptions","organizations_url":"https://api.github.com/users/ehaidari77/orgs","repos_url":"https://api.github.com/users/ehaidari77/repos","events_url":"https://api.github.com/users/ehaidari77/events{/privacy}","received_events_url":"https://api.github.com/users/ehaidari77/received_events","type":"User","site_admin":false},"repo":{"id":67688545,"name":"KotlinAsFirst2016","full_name":"ehaidari77/KotlinAsFirst2016","owner":{"login":"ehaidari77","id":22072912,"avatar_url":"https://avatars.githubusercontent.com/u/22072912?v=3","gravatar_id":"","url":"https://api.github.com/users/ehaidari77","html_url":"https://github.com/ehaidari77","followers_url":"https://api.github.com/users/ehaidari77/followers","following_url":"https://api.github.com/users/ehaidari77/following{/other_user}","gists_url":"https://api.github.com/users/ehaidari77/gists{/gist_id}","starred_url":"https://api.github.com/users/ehaidari77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehaidari77/subscriptions","organizations_url":"https://api.github.com/users/ehaidari77/orgs","repos_url":"https://api.github.com/users/ehaidari77/repos","events_url":"https://api.github.com/users/ehaidari77/events{/privacy}","received_events_url":"https://api.github.com/users/ehaidari77/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehaidari77/KotlinAsFirst2016","description":null,"fork":true,"url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016","forks_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/forks","keys_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/teams","hooks_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/hooks","issue_events_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/issues/events{/number}","events_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/events","assignees_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/assignees{/user}","branches_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/branches{/branch}","tags_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/tags","blobs_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/statuses/{sha}","languages_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/languages","stargazers_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/stargazers","contributors_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/contributors","subscribers_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/subscribers","subscription_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/subscription","commits_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/contents/{+path}","compare_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/merges","archive_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/downloads","issues_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/issues{/number}","pulls_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/pulls{/number}","milestones_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/milestones{/number}","notifications_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/labels{/name}","releases_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/releases{/id}","deployments_url":"https://api.github.com/repos/ehaidari77/KotlinAsFirst2016/deployments","created_at":"2016-09-08T09:23:02Z","updated_at":"2016-09-08T09:23:04Z","pushed_at":"2016-09-29T17:54:59Z","git_url":"git://github.com/ehaidari77/KotlinAsFirst2016.git","ssh_url":"git@github.com:ehaidari77/KotlinAsFirst2016.git","clone_url":"https://github.com/ehaidari77/KotlinAsFirst2016.git","svn_url":"https://github.com/ehaidari77/KotlinAsFirst2016","homepage":null,"size":3050,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kotlin-Polytech:master","ref":"master","sha":"7926a781d6c533d797a9bb82c70eb00508a94f34","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-09-28T21:54:30Z","pushed_at":"2016-09-29T17:55:00Z","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":8271,"stargazers_count":12,"watchers_count":12,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":58,"forks":97,"open_issues":58,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127"},"html":{"href":"https://github.com/Kotlin-Polytech/KotlinAsFirst2016/pull/127"},"issue":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/127"},"comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/pulls/127/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/127/commits"},"statuses":{"href":"https://api.github.com/repos/Kotlin-Polytech/KotlinAsFirst2016/statuses/7e5f2784b3e0181d0d2650d801a860333badbdcf"}}}}
{"actor":{"display_login":"belyaev-mikhail"}}