{"action":"created","comment":{"url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/comments/40050872","id":40050872,"diff_hunk":"@@ -1 +1,57 @@\n # Your answers here.\n+1.  255 seconds (by whatever method - either by consecutively adding the next\n+    bag to a running total, or pairwise, 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1).\n+\n+2.  Yes - the 8 cashiers can split the bags evenly (so each has 32 bags, which\n+    take 31 seconds to add), then four of them each add their total to the\n+    total of one of the other four (1 additional second), then two of the\n+    remaining four add the remaining two pairs (1 more second), then one\n+    cashier adds these results (1 more second), for 34 seconds total.\n+\n+3.  8 seconds (in the first second, 128 cashiers each add a pair of bags;\n+    the next second, 64 add pairs of those results; and so on, until one\n+    remaining cashier adds the final total in the 8th second).\n+\n+4.  Log_2(N) seconds (because the number of sums is halved each second).","path":"HW0/P5/P5.txt","position":15,"original_position":15,"commit_id":"2d235d7a3180db5920eae2504817323142e0e9d4","original_commit_id":"2d235d7a3180db5920eae2504817323142e0e9d4","user":{"login":"xinyanhan","id":14118702,"avatar_url":"https://avatars.githubusercontent.com/u/14118702?v=3","gravatar_id":"","url":"https://api.github.com/users/xinyanhan","html_url":"https://github.com/xinyanhan","followers_url":"https://api.github.com/users/xinyanhan/followers","following_url":"https://api.github.com/users/xinyanhan/following{/other_user}","gists_url":"https://api.github.com/users/xinyanhan/gists{/gist_id}","starred_url":"https://api.github.com/users/xinyanhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinyanhan/subscriptions","organizations_url":"https://api.github.com/users/xinyanhan/orgs","repos_url":"https://api.github.com/users/xinyanhan/repos","events_url":"https://api.github.com/users/xinyanhan/events{/privacy}","received_events_url":"https://api.github.com/users/xinyanhan/received_events","type":"User","site_admin":false},"body":"For the infinite cashiers time, is it int(log_2(N)), since the seconds cashiers take are all in integers.","created_at":"2015-09-22T03:37:53Z","updated_at":"2015-09-22T03:37:53Z","html_url":"https://github.com/harvard-cs205/cs205-homework/pull/145#discussion_r40050872","pull_request_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/comments/40050872"},"html":{"href":"https://github.com/harvard-cs205/cs205-homework/pull/145#discussion_r40050872"},"pull_request":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145","id":44818498,"html_url":"https://github.com/harvard-cs205/cs205-homework/pull/145","diff_url":"https://github.com/harvard-cs205/cs205-homework/pull/145.diff","patch_url":"https://github.com/harvard-cs205/cs205-homework/pull/145.patch","issue_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues/145","number":145,"state":"open","locked":false,"title":"[Anna Whitney] HW0b","user":{"login":"annawhitney","id":10450394,"avatar_url":"https://avatars.githubusercontent.com/u/10450394?v=3","gravatar_id":"","url":"https://api.github.com/users/annawhitney","html_url":"https://github.com/annawhitney","followers_url":"https://api.github.com/users/annawhitney/followers","following_url":"https://api.github.com/users/annawhitney/following{/other_user}","gists_url":"https://api.github.com/users/annawhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/annawhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annawhitney/subscriptions","organizations_url":"https://api.github.com/users/annawhitney/orgs","repos_url":"https://api.github.com/users/annawhitney/repos","events_url":"https://api.github.com/users/annawhitney/events{/privacy}","received_events_url":"https://api.github.com/users/annawhitney/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-11T19:14:14Z","updated_at":"2015-09-22T03:37:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"41c41ff29796e7d789a9750e46d310bfdc916f40","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145/commits","review_comments_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145/comments","review_comment_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues/145/comments","statuses_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/statuses/2d235d7a3180db5920eae2504817323142e0e9d4","head":{"label":"annawhitney:HW0b","ref":"HW0b","sha":"2d235d7a3180db5920eae2504817323142e0e9d4","user":{"login":"annawhitney","id":10450394,"avatar_url":"https://avatars.githubusercontent.com/u/10450394?v=3","gravatar_id":"","url":"https://api.github.com/users/annawhitney","html_url":"https://github.com/annawhitney","followers_url":"https://api.github.com/users/annawhitney/followers","following_url":"https://api.github.com/users/annawhitney/following{/other_user}","gists_url":"https://api.github.com/users/annawhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/annawhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annawhitney/subscriptions","organizations_url":"https://api.github.com/users/annawhitney/orgs","repos_url":"https://api.github.com/users/annawhitney/repos","events_url":"https://api.github.com/users/annawhitney/events{/privacy}","received_events_url":"https://api.github.com/users/annawhitney/received_events","type":"User","site_admin":false},"repo":{"id":41937298,"name":"cs205-homework","full_name":"annawhitney/cs205-homework","owner":{"login":"annawhitney","id":10450394,"avatar_url":"https://avatars.githubusercontent.com/u/10450394?v=3","gravatar_id":"","url":"https://api.github.com/users/annawhitney","html_url":"https://github.com/annawhitney","followers_url":"https://api.github.com/users/annawhitney/followers","following_url":"https://api.github.com/users/annawhitney/following{/other_user}","gists_url":"https://api.github.com/users/annawhitney/gists{/gist_id}","starred_url":"https://api.github.com/users/annawhitney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annawhitney/subscriptions","organizations_url":"https://api.github.com/users/annawhitney/orgs","repos_url":"https://api.github.com/users/annawhitney/repos","events_url":"https://api.github.com/users/annawhitney/events{/privacy}","received_events_url":"https://api.github.com/users/annawhitney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annawhitney/cs205-homework","description":"","fork":true,"url":"https://api.github.com/repos/annawhitney/cs205-homework","forks_url":"https://api.github.com/repos/annawhitney/cs205-homework/forks","keys_url":"https://api.github.com/repos/annawhitney/cs205-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annawhitney/cs205-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annawhitney/cs205-homework/teams","hooks_url":"https://api.github.com/repos/annawhitney/cs205-homework/hooks","issue_events_url":"https://api.github.com/repos/annawhitney/cs205-homework/issues/events{/number}","events_url":"https://api.github.com/repos/annawhitney/cs205-homework/events","assignees_url":"https://api.github.com/repos/annawhitney/cs205-homework/assignees{/user}","branches_url":"https://api.github.com/repos/annawhitney/cs205-homework/branches{/branch}","tags_url":"https://api.github.com/repos/annawhitney/cs205-homework/tags","blobs_url":"https://api.github.com/repos/annawhitney/cs205-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annawhitney/cs205-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annawhitney/cs205-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/annawhitney/cs205-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annawhitney/cs205-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/annawhitney/cs205-homework/languages","stargazers_url":"https://api.github.com/repos/annawhitney/cs205-homework/stargazers","contributors_url":"https://api.github.com/repos/annawhitney/cs205-homework/contributors","subscribers_url":"https://api.github.com/repos/annawhitney/cs205-homework/subscribers","subscription_url":"https://api.github.com/repos/annawhitney/cs205-homework/subscription","commits_url":"https://api.github.com/repos/annawhitney/cs205-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/annawhitney/cs205-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/annawhitney/cs205-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/annawhitney/cs205-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/annawhitney/cs205-homework/contents/{+path}","compare_url":"https://api.github.com/repos/annawhitney/cs205-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annawhitney/cs205-homework/merges","archive_url":"https://api.github.com/repos/annawhitney/cs205-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annawhitney/cs205-homework/downloads","issues_url":"https://api.github.com/repos/annawhitney/cs205-homework/issues{/number}","pulls_url":"https://api.github.com/repos/annawhitney/cs205-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/annawhitney/cs205-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/annawhitney/cs205-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annawhitney/cs205-homework/labels{/name}","releases_url":"https://api.github.com/repos/annawhitney/cs205-homework/releases{/id}","created_at":"2015-09-04T20:53:26Z","updated_at":"2015-09-04T20:53:27Z","pushed_at":"2015-09-11T19:12:36Z","git_url":"git://github.com/annawhitney/cs205-homework.git","ssh_url":"git@github.com:annawhitney/cs205-homework.git","clone_url":"https://github.com/annawhitney/cs205-homework.git","svn_url":"https://github.com/annawhitney/cs205-homework","homepage":null,"size":163,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"harvard-cs205:master","ref":"master","sha":"c56c8eb364fec71d50312e3780ed6d1191a613ee","user":{"login":"harvard-cs205","id":13456002,"avatar_url":"https://avatars.githubusercontent.com/u/13456002?v=3","gravatar_id":"","url":"https://api.github.com/users/harvard-cs205","html_url":"https://github.com/harvard-cs205","followers_url":"https://api.github.com/users/harvard-cs205/followers","following_url":"https://api.github.com/users/harvard-cs205/following{/other_user}","gists_url":"https://api.github.com/users/harvard-cs205/gists{/gist_id}","starred_url":"https://api.github.com/users/harvard-cs205/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvard-cs205/subscriptions","organizations_url":"https://api.github.com/users/harvard-cs205/orgs","repos_url":"https://api.github.com/users/harvard-cs205/repos","events_url":"https://api.github.com/users/harvard-cs205/events{/privacy}","received_events_url":"https://api.github.com/users/harvard-cs205/received_events","type":"Organization","site_admin":false},"repo":{"id":40614104,"name":"cs205-homework","full_name":"harvard-cs205/cs205-homework","owner":{"login":"harvard-cs205","id":13456002,"avatar_url":"https://avatars.githubusercontent.com/u/13456002?v=3","gravatar_id":"","url":"https://api.github.com/users/harvard-cs205","html_url":"https://github.com/harvard-cs205","followers_url":"https://api.github.com/users/harvard-cs205/followers","following_url":"https://api.github.com/users/harvard-cs205/following{/other_user}","gists_url":"https://api.github.com/users/harvard-cs205/gists{/gist_id}","starred_url":"https://api.github.com/users/harvard-cs205/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvard-cs205/subscriptions","organizations_url":"https://api.github.com/users/harvard-cs205/orgs","repos_url":"https://api.github.com/users/harvard-cs205/repos","events_url":"https://api.github.com/users/harvard-cs205/events{/privacy}","received_events_url":"https://api.github.com/users/harvard-cs205/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/harvard-cs205/cs205-homework","description":"","fork":false,"url":"https://api.github.com/repos/harvard-cs205/cs205-homework","forks_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/forks","keys_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/teams","hooks_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/hooks","issue_events_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues/events{/number}","events_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/events","assignees_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/assignees{/user}","branches_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/branches{/branch}","tags_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/tags","blobs_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/languages","stargazers_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/stargazers","contributors_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/contributors","subscribers_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/subscribers","subscription_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/subscription","commits_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/contents/{+path}","compare_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/merges","archive_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/downloads","issues_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues{/number}","pulls_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/labels{/name}","releases_url":"https://api.github.com/repos/harvard-cs205/cs205-homework/releases{/id}","created_at":"2015-08-12T17:18:15Z","updated_at":"2015-09-17T01:30:31Z","pushed_at":"2015-09-21T18:02:46Z","git_url":"git://github.com/harvard-cs205/cs205-homework.git","ssh_url":"git@github.com:harvard-cs205/cs205-homework.git","clone_url":"https://github.com/harvard-cs205/cs205-homework.git","svn_url":"https://github.com/harvard-cs205/cs205-homework","homepage":null,"size":19830,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":99,"mirror_url":null,"open_issues_count":185,"forks":99,"open_issues":185,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145"},"html":{"href":"https://github.com/harvard-cs205/cs205-homework/pull/145"},"issue":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues/145"},"comments":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/harvard-cs205/cs205-homework/statuses/2d235d7a3180db5920eae2504817323142e0e9d4"}}}}