{"action":"created","comment":{"url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/comments/151202377","pull_request_review_id":76872356,"id":151202377,"diff_hunk":"@@ -1,14 +1,81 @@\n package ru.spbau.mit\n \n-fun getGreeting(): String {\n-    val words = mutableListOf<String>()\n-    words.add(\"Hello,\")\n-    \n-    words.add(\"world!\")\n+import java.util.*\n \n-    return words.joinToString(separator = \" \")\n+data class Request(\n+        val p: Int,\n+        val c: Char\n+)\n+\n+class Solver {\n+    class SegmentTree(\n+            private val size: Int\n+    ) {\n+        private val tree = Array(size * 4, { 0 })","path":"src/main/java/ru/spbau/mit/main.kt","position":null,"original_position":20,"commit_id":"8789d3879b4cce3980d90b06dc2c5c8708521f23","original_commit_id":"4030a5f4450277f56290fc2600f13a0febb364c4","user":{"login":"dzharkov","id":863207,"avatar_url":"https://avatars3.githubusercontent.com/u/863207?v=4","gravatar_id":"","url":"https://api.github.com/users/dzharkov","html_url":"https://github.com/dzharkov","followers_url":"https://api.github.com/users/dzharkov/followers","following_url":"https://api.github.com/users/dzharkov/following{/other_user}","gists_url":"https://api.github.com/users/dzharkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dzharkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzharkov/subscriptions","organizations_url":"https://api.github.com/users/dzharkov/orgs","repos_url":"https://api.github.com/users/dzharkov/repos","events_url":"https://api.github.com/users/dzharkov/events{/privacy}","received_events_url":"https://api.github.com/users/dzharkov/received_events","type":"User","site_admin":false},"body":"На паре я говорил про разницу между `Array<Int>` и `IntArray`.\r\nОчевидно, что здесь первое не к месту","created_at":"2017-11-15T17:49:53Z","updated_at":"2017-11-15T17:49:54Z","html_url":"https://github.com/java-course-au/kotlin-course/pull/5#discussion_r151202377","pull_request_url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/comments/151202377"},"html":{"href":"https://github.com/java-course-au/kotlin-course/pull/5#discussion_r151202377"},"pull_request":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5"}},"in_reply_to_id":149738192},"pull_request":{"url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5","id":149306923,"html_url":"https://github.com/java-course-au/kotlin-course/pull/5","diff_url":"https://github.com/java-course-au/kotlin-course/pull/5.diff","patch_url":"https://github.com/java-course-au/kotlin-course/pull/5.patch","issue_url":"https://api.github.com/repos/java-course-au/kotlin-course/issues/5","number":5,"state":"open","locked":false,"title":"Kotlin. ДЗ 01, Горохов Никита ","user":{"login":"wackloner","id":7254333,"avatar_url":"https://avatars3.githubusercontent.com/u/7254333?v=4","gravatar_id":"","url":"https://api.github.com/users/wackloner","html_url":"https://github.com/wackloner","followers_url":"https://api.github.com/users/wackloner/followers","following_url":"https://api.github.com/users/wackloner/following{/other_user}","gists_url":"https://api.github.com/users/wackloner/gists{/gist_id}","starred_url":"https://api.github.com/users/wackloner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wackloner/subscriptions","organizations_url":"https://api.github.com/users/wackloner/orgs","repos_url":"https://api.github.com/users/wackloner/repos","events_url":"https://api.github.com/users/wackloner/events{/privacy}","received_events_url":"https://api.github.com/users/wackloner/received_events","type":"User","site_admin":false},"body":"@dzharkov\r\nhttp://codeforces.com/contest/159/submission/31821049","created_at":"2017-10-27T23:49:47Z","updated_at":"2017-11-15T17:49:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7612d548d14d0bbbb30d018368cebf96fec51590","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5/commits","review_comments_url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5/comments","review_comment_url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/comments{/number}","comments_url":"https://api.github.com/repos/java-course-au/kotlin-course/issues/5/comments","statuses_url":"https://api.github.com/repos/java-course-au/kotlin-course/statuses/8789d3879b4cce3980d90b06dc2c5c8708521f23","head":{"label":"wackloner:01-just-for-fun","ref":"01-just-for-fun","sha":"8789d3879b4cce3980d90b06dc2c5c8708521f23","user":{"login":"wackloner","id":7254333,"avatar_url":"https://avatars3.githubusercontent.com/u/7254333?v=4","gravatar_id":"","url":"https://api.github.com/users/wackloner","html_url":"https://github.com/wackloner","followers_url":"https://api.github.com/users/wackloner/followers","following_url":"https://api.github.com/users/wackloner/following{/other_user}","gists_url":"https://api.github.com/users/wackloner/gists{/gist_id}","starred_url":"https://api.github.com/users/wackloner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wackloner/subscriptions","organizations_url":"https://api.github.com/users/wackloner/orgs","repos_url":"https://api.github.com/users/wackloner/repos","events_url":"https://api.github.com/users/wackloner/events{/privacy}","received_events_url":"https://api.github.com/users/wackloner/received_events","type":"User","site_admin":false},"repo":{"id":108572302,"name":"kotlin-course","full_name":"wackloner/kotlin-course","owner":{"login":"wackloner","id":7254333,"avatar_url":"https://avatars3.githubusercontent.com/u/7254333?v=4","gravatar_id":"","url":"https://api.github.com/users/wackloner","html_url":"https://github.com/wackloner","followers_url":"https://api.github.com/users/wackloner/followers","following_url":"https://api.github.com/users/wackloner/following{/other_user}","gists_url":"https://api.github.com/users/wackloner/gists{/gist_id}","starred_url":"https://api.github.com/users/wackloner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wackloner/subscriptions","organizations_url":"https://api.github.com/users/wackloner/orgs","repos_url":"https://api.github.com/users/wackloner/repos","events_url":"https://api.github.com/users/wackloner/events{/privacy}","received_events_url":"https://api.github.com/users/wackloner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wackloner/kotlin-course","description":"Task from university Kotlin course, 5th semester.","fork":true,"url":"https://api.github.com/repos/wackloner/kotlin-course","forks_url":"https://api.github.com/repos/wackloner/kotlin-course/forks","keys_url":"https://api.github.com/repos/wackloner/kotlin-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wackloner/kotlin-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wackloner/kotlin-course/teams","hooks_url":"https://api.github.com/repos/wackloner/kotlin-course/hooks","issue_events_url":"https://api.github.com/repos/wackloner/kotlin-course/issues/events{/number}","events_url":"https://api.github.com/repos/wackloner/kotlin-course/events","assignees_url":"https://api.github.com/repos/wackloner/kotlin-course/assignees{/user}","branches_url":"https://api.github.com/repos/wackloner/kotlin-course/branches{/branch}","tags_url":"https://api.github.com/repos/wackloner/kotlin-course/tags","blobs_url":"https://api.github.com/repos/wackloner/kotlin-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wackloner/kotlin-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wackloner/kotlin-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/wackloner/kotlin-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wackloner/kotlin-course/statuses/{sha}","languages_url":"https://api.github.com/repos/wackloner/kotlin-course/languages","stargazers_url":"https://api.github.com/repos/wackloner/kotlin-course/stargazers","contributors_url":"https://api.github.com/repos/wackloner/kotlin-course/contributors","subscribers_url":"https://api.github.com/repos/wackloner/kotlin-course/subscribers","subscription_url":"https://api.github.com/repos/wackloner/kotlin-course/subscription","commits_url":"https://api.github.com/repos/wackloner/kotlin-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/wackloner/kotlin-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/wackloner/kotlin-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/wackloner/kotlin-course/issues/comments{/number}","contents_url":"https://api.github.com/repos/wackloner/kotlin-course/contents/{+path}","compare_url":"https://api.github.com/repos/wackloner/kotlin-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wackloner/kotlin-course/merges","archive_url":"https://api.github.com/repos/wackloner/kotlin-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wackloner/kotlin-course/downloads","issues_url":"https://api.github.com/repos/wackloner/kotlin-course/issues{/number}","pulls_url":"https://api.github.com/repos/wackloner/kotlin-course/pulls{/number}","milestones_url":"https://api.github.com/repos/wackloner/kotlin-course/milestones{/number}","notifications_url":"https://api.github.com/repos/wackloner/kotlin-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wackloner/kotlin-course/labels{/name}","releases_url":"https://api.github.com/repos/wackloner/kotlin-course/releases{/id}","deployments_url":"https://api.github.com/repos/wackloner/kotlin-course/deployments","created_at":"2017-10-27T17:00:50Z","updated_at":"2017-11-12T09:33:07Z","pushed_at":"2017-11-14T19:01:35Z","git_url":"git://github.com/wackloner/kotlin-course.git","ssh_url":"git@github.com:wackloner/kotlin-course.git","clone_url":"https://github.com/wackloner/kotlin-course.git","svn_url":"https://github.com/wackloner/kotlin-course","homepage":"","size":72,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","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,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"java-course-au:01-just-for-fun","ref":"01-just-for-fun","sha":"3139cf79c48b5fb3d0db13b4f758b10e647db901","user":{"login":"java-course-au","id":14248092,"avatar_url":"https://avatars1.githubusercontent.com/u/14248092?v=4","gravatar_id":"","url":"https://api.github.com/users/java-course-au","html_url":"https://github.com/java-course-au","followers_url":"https://api.github.com/users/java-course-au/followers","following_url":"https://api.github.com/users/java-course-au/following{/other_user}","gists_url":"https://api.github.com/users/java-course-au/gists{/gist_id}","starred_url":"https://api.github.com/users/java-course-au/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-course-au/subscriptions","organizations_url":"https://api.github.com/users/java-course-au/orgs","repos_url":"https://api.github.com/users/java-course-au/repos","events_url":"https://api.github.com/users/java-course-au/events{/privacy}","received_events_url":"https://api.github.com/users/java-course-au/received_events","type":"Organization","site_admin":false},"repo":{"id":107769873,"name":"kotlin-course","full_name":"java-course-au/kotlin-course","owner":{"login":"java-course-au","id":14248092,"avatar_url":"https://avatars1.githubusercontent.com/u/14248092?v=4","gravatar_id":"","url":"https://api.github.com/users/java-course-au","html_url":"https://github.com/java-course-au","followers_url":"https://api.github.com/users/java-course-au/followers","following_url":"https://api.github.com/users/java-course-au/following{/other_user}","gists_url":"https://api.github.com/users/java-course-au/gists{/gist_id}","starred_url":"https://api.github.com/users/java-course-au/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/java-course-au/subscriptions","organizations_url":"https://api.github.com/users/java-course-au/orgs","repos_url":"https://api.github.com/users/java-course-au/repos","events_url":"https://api.github.com/users/java-course-au/events{/privacy}","received_events_url":"https://api.github.com/users/java-course-au/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/java-course-au/kotlin-course","description":null,"fork":false,"url":"https://api.github.com/repos/java-course-au/kotlin-course","forks_url":"https://api.github.com/repos/java-course-au/kotlin-course/forks","keys_url":"https://api.github.com/repos/java-course-au/kotlin-course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/java-course-au/kotlin-course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/java-course-au/kotlin-course/teams","hooks_url":"https://api.github.com/repos/java-course-au/kotlin-course/hooks","issue_events_url":"https://api.github.com/repos/java-course-au/kotlin-course/issues/events{/number}","events_url":"https://api.github.com/repos/java-course-au/kotlin-course/events","assignees_url":"https://api.github.com/repos/java-course-au/kotlin-course/assignees{/user}","branches_url":"https://api.github.com/repos/java-course-au/kotlin-course/branches{/branch}","tags_url":"https://api.github.com/repos/java-course-au/kotlin-course/tags","blobs_url":"https://api.github.com/repos/java-course-au/kotlin-course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/java-course-au/kotlin-course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/java-course-au/kotlin-course/git/refs{/sha}","trees_url":"https://api.github.com/repos/java-course-au/kotlin-course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/java-course-au/kotlin-course/statuses/{sha}","languages_url":"https://api.github.com/repos/java-course-au/kotlin-course/languages","stargazers_url":"https://api.github.com/repos/java-course-au/kotlin-course/stargazers","contributors_url":"https://api.github.com/repos/java-course-au/kotlin-course/contributors","subscribers_url":"https://api.github.com/repos/java-course-au/kotlin-course/subscribers","subscription_url":"https://api.github.com/repos/java-course-au/kotlin-course/subscription","commits_url":"https://api.github.com/repos/java-course-au/kotlin-course/commits{/sha}","git_commits_url":"https://api.github.com/repos/java-course-au/kotlin-course/git/commits{/sha}","comments_url":"https://api.github.com/repos/java-course-au/kotlin-course/comments{/number}","issue_comment_url":"https://api.github.com/repos/java-course-au/kotlin-course/issues/comments{/number}","contents_url":"https://api.github.com/repos/java-course-au/kotlin-course/contents/{+path}","compare_url":"https://api.github.com/repos/java-course-au/kotlin-course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/java-course-au/kotlin-course/merges","archive_url":"https://api.github.com/repos/java-course-au/kotlin-course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/java-course-au/kotlin-course/downloads","issues_url":"https://api.github.com/repos/java-course-au/kotlin-course/issues{/number}","pulls_url":"https://api.github.com/repos/java-course-au/kotlin-course/pulls{/number}","milestones_url":"https://api.github.com/repos/java-course-au/kotlin-course/milestones{/number}","notifications_url":"https://api.github.com/repos/java-course-au/kotlin-course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/java-course-au/kotlin-course/labels{/name}","releases_url":"https://api.github.com/repos/java-course-au/kotlin-course/releases{/id}","deployments_url":"https://api.github.com/repos/java-course-au/kotlin-course/deployments","created_at":"2017-10-21T10:05:04Z","updated_at":"2017-10-21T12:02:33Z","pushed_at":"2017-11-14T19:01:36Z","git_url":"git://github.com/java-course-au/kotlin-course.git","ssh_url":"git@github.com:java-course-au/kotlin-course.git","clone_url":"https://github.com/java-course-au/kotlin-course.git","svn_url":"https://github.com/java-course-au/kotlin-course","homepage":null,"size":65,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":53,"forks":31,"open_issues":53,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5"},"html":{"href":"https://github.com/java-course-au/kotlin-course/pull/5"},"issue":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/issues/5"},"comments":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/java-course-au/kotlin-course/statuses/8789d3879b4cce3980d90b06dc2c5c8708521f23"}},"author_association":"NONE"}}
{"actor":{"display_login":"dzharkov"}}