GitHub PullRequestReviewCommentEvent at 2014-11-14 01:02:33
Repository: codebase
Actor: whimsycwd
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/ds-sww/codebase/pulls/comments/20336155","id":20336155,"diff_hunk":"@@ -0,0 +1,39 @@\n+#include<cstdio>\n+#include<cstring>\n+#include<cstdlib>\n+#include<iostream>\n+#include<algorithm>\n+\n+using namespace std ;\n+\n+int T ;\n+int m , n ;\n+int friends[10005] = {} ;\n+\n+int main()\n+{\n+        cin >> T ;\n+        int cas = 0 ;\n+        while( (++cas) <= T )\n+        {\n+                scanf(\"%d %d\",&m,&n);\n+                for( int i = 1; i <= n ; i ++)\n+                {\n+                      scanf(\"%d\",&friends[i]) ;\n+                }\n+                int ans = 0 ;\n+                sort( friends + 1 , friends + 1 + n ) ;","path":"13307130389/assignment7/T1.cpp","position":25,"original_position":25,"commit_id":"c5de7a26e4d9ca007ca69ca34ca2b21d3b171889","original_commit_id":"c5de7a26e4d9ca007ca69ca34ca2b21d3b171889","user":{"login":"whimsycwd","id":4927503,"avatar_url":"https://avatars.githubusercontent.com/u/4927503?v=3","gravatar_id":"","url":"https://api.github.com/users/whimsycwd","html_url":"https://github.com/whimsycwd","followers_url":"https://api.github.com/users/whimsycwd/followers","following_url":"https://api.github.com/users/whimsycwd/following{/other_user}","gists_url":"https://api.github.com/users/whimsycwd/gists{/gist_id}","starred_url":"https://api.github.com/users/whimsycwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whimsycwd/subscriptions","organizations_url":"https://api.github.com/users/whimsycwd/orgs","repos_url":"https://api.github.com/users/whimsycwd/repos","events_url":"https://api.github.com/users/whimsycwd/events{/privacy}","received_events_url":"https://api.github.com/users/whimsycwd/received_events","type":"User","site_admin":false},"body":"对0 要有爱啊.","created_at":"2014-11-14T01:02:33Z","updated_at":"2014-11-14T01:02:33Z","html_url":"https://github.com/ds-sww/codebase/pull/378#discussion_r20336155","pull_request_url":"https://api.github.com/repos/ds-sww/codebase/pulls/378","_links":{"self":{"href":"https://api.github.com/repos/ds-sww/codebase/pulls/comments/20336155"},"html":{"href":"https://github.com/ds-sww/codebase/pull/378#discussion_r20336155"},"pull_request":{"href":"https://api.github.com/repos/ds-sww/codebase/pulls/378"}}},"pull_request":{"url":"https://api.github.com/repos/ds-sww/codebase/pulls/378","id":24196376,"html_url":"https://github.com/ds-sww/codebase/pull/378","diff_url":"https://github.com/ds-sww/codebase/pull/378.diff","patch_url":"https://github.com/ds-sww/codebase/pull/378.patch","issue_url":"https://api.github.com/repos/ds-sww/codebase/issues/378","number":378,"state":"open","locked":false,"title":"13307130389_KangzhengGu_assignment7","user":{"login":"xiaoguai0992","id":8860527,"avatar_url":"https://avatars.githubusercontent.com/u/8860527?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoguai0992","html_url":"https://github.com/xiaoguai0992","followers_url":"https://api.github.com/users/xiaoguai0992/followers","following_url":"https://api.github.com/users/xiaoguai0992/following{/other_user}","gists_url":"https://api.github.com/users/xiaoguai0992/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoguai0992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoguai0992/subscriptions","organizations_url":"https://api.github.com/users/xiaoguai0992/orgs","repos_url":"https://api.github.com/users/xiaoguai0992/repos","events_url":"https://api.github.com/users/xiaoguai0992/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoguai0992/received_events","type":"User","site_admin":false},"body":"考试的时候T3就9分。。。\r\n于是回去了之后好好开了下脑洞折腾了几种做法。。。\r\n如果还有其他想法欢迎交流，反正开脑洞嘛。。。","created_at":"2014-11-11T03:31:08Z","updated_at":"2014-11-14T01:02:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f941b85ee3aeba833a0bf9e5ce416780e6b678d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ds-sww/codebase/pulls/378/commits","review_comments_url":"https://api.github.com/repos/ds-sww/codebase/pulls/378/comments","review_comment_url":"https://api.github.com/repos/ds-sww/codebase/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ds-sww/codebase/issues/378/comments","statuses_url":"https://api.github.com/repos/ds-sww/codebase/statuses/c5de7a26e4d9ca007ca69ca34ca2b21d3b171889","head":{"label":"xiaoguai0992:assignment7","ref":"assignment7","sha":"c5de7a26e4d9ca007ca69ca34ca2b21d3b171889","user":{"login":"xiaoguai0992","id":8860527,"avatar_url":"https://avatars.githubusercontent.com/u/8860527?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoguai0992","html_url":"https://github.com/xiaoguai0992","followers_url":"https://api.github.com/users/xiaoguai0992/followers","following_url":"https://api.github.com/users/xiaoguai0992/following{/other_user}","gists_url":"https://api.github.com/users/xiaoguai0992/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoguai0992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoguai0992/subscriptions","organizations_url":"https://api.github.com/users/xiaoguai0992/orgs","repos_url":"https://api.github.com/users/xiaoguai0992/repos","events_url":"https://api.github.com/users/xiaoguai0992/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoguai0992/received_events","type":"User","site_admin":false},"repo":{"id":24880159,"name":"codebase","full_name":"xiaoguai0992/codebase","owner":{"login":"xiaoguai0992","id":8860527,"avatar_url":"https://avatars.githubusercontent.com/u/8860527?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoguai0992","html_url":"https://github.com/xiaoguai0992","followers_url":"https://api.github.com/users/xiaoguai0992/followers","following_url":"https://api.github.com/users/xiaoguai0992/following{/other_user}","gists_url":"https://api.github.com/users/xiaoguai0992/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoguai0992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoguai0992/subscriptions","organizations_url":"https://api.github.com/users/xiaoguai0992/orgs","repos_url":"https://api.github.com/users/xiaoguai0992/repos","events_url":"https://api.github.com/users/xiaoguai0992/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoguai0992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xiaoguai0992/codebase","description":"","fork":true,"url":"https://api.github.com/repos/xiaoguai0992/codebase","forks_url":"https://api.github.com/repos/xiaoguai0992/codebase/forks","keys_url":"https://api.github.com/repos/xiaoguai0992/codebase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xiaoguai0992/codebase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xiaoguai0992/codebase/teams","hooks_url":"https://api.github.com/repos/xiaoguai0992/codebase/hooks","issue_events_url":"https://api.github.com/repos/xiaoguai0992/codebase/issues/events{/number}","events_url":"https://api.github.com/repos/xiaoguai0992/codebase/events","assignees_url":"https://api.github.com/repos/xiaoguai0992/codebase/assignees{/user}","branches_url":"https://api.github.com/repos/xiaoguai0992/codebase/branches{/branch}","tags_url":"https://api.github.com/repos/xiaoguai0992/codebase/tags","blobs_url":"https://api.github.com/repos/xiaoguai0992/codebase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xiaoguai0992/codebase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xiaoguai0992/codebase/git/refs{/sha}","trees_url":"https://api.github.com/repos/xiaoguai0992/codebase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xiaoguai0992/codebase/statuses/{sha}","languages_url":"https://api.github.com/repos/xiaoguai0992/codebase/languages","stargazers_url":"https://api.github.com/repos/xiaoguai0992/codebase/stargazers","contributors_url":"https://api.github.com/repos/xiaoguai0992/codebase/contributors","subscribers_url":"https://api.github.com/repos/xiaoguai0992/codebase/subscribers","subscription_url":"https://api.github.com/repos/xiaoguai0992/codebase/subscription","commits_url":"https://api.github.com/repos/xiaoguai0992/codebase/commits{/sha}","git_commits_url":"https://api.github.com/repos/xiaoguai0992/codebase/git/commits{/sha}","comments_url":"https://api.github.com/repos/xiaoguai0992/codebase/comments{/number}","issue_comment_url":"https://api.github.com/repos/xiaoguai0992/codebase/issues/comments/{number}","contents_url":"https://api.github.com/repos/xiaoguai0992/codebase/contents/{+path}","compare_url":"https://api.github.com/repos/xiaoguai0992/codebase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xiaoguai0992/codebase/merges","archive_url":"https://api.github.com/repos/xiaoguai0992/codebase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xiaoguai0992/codebase/downloads","issues_url":"https://api.github.com/repos/xiaoguai0992/codebase/issues{/number}","pulls_url":"https://api.github.com/repos/xiaoguai0992/codebase/pulls{/number}","milestones_url":"https://api.github.com/repos/xiaoguai0992/codebase/milestones{/number}","notifications_url":"https://api.github.com/repos/xiaoguai0992/codebase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xiaoguai0992/codebase/labels{/name}","releases_url":"https://api.github.com/repos/xiaoguai0992/codebase/releases{/id}","created_at":"2014-10-07T07:02:53Z","updated_at":"2014-10-11T09:52:22Z","pushed_at":"2014-11-11T03:26:37Z","git_url":"git://github.com/xiaoguai0992/codebase.git","ssh_url":"git@github.com:xiaoguai0992/codebase.git","clone_url":"https://github.com/xiaoguai0992/codebase.git","svn_url":"https://github.com/xiaoguai0992/codebase","homepage":null,"size":815,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"ds-sww:master","ref":"master","sha":"98477b196e0be2875cd0bfcc84de542ce472bde5","user":{"login":"ds-sww","id":8822178,"avatar_url":"https://avatars.githubusercontent.com/u/8822178?v=3","gravatar_id":"","url":"https://api.github.com/users/ds-sww","html_url":"https://github.com/ds-sww","followers_url":"https://api.github.com/users/ds-sww/followers","following_url":"https://api.github.com/users/ds-sww/following{/other_user}","gists_url":"https://api.github.com/users/ds-sww/gists{/gist_id}","starred_url":"https://api.github.com/users/ds-sww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ds-sww/subscriptions","organizations_url":"https://api.github.com/users/ds-sww/orgs","repos_url":"https://api.github.com/users/ds-sww/repos","events_url":"https://api.github.com/users/ds-sww/events{/privacy}","received_events_url":"https://api.github.com/users/ds-sww/received_events","type":"User","site_admin":false},"repo":{"id":24193317,"name":"codebase","full_name":"ds-sww/codebase","owner":{"login":"ds-sww","id":8822178,"avatar_url":"https://avatars.githubusercontent.com/u/8822178?v=3","gravatar_id":"","url":"https://api.github.com/users/ds-sww","html_url":"https://github.com/ds-sww","followers_url":"https://api.github.com/users/ds-sww/followers","following_url":"https://api.github.com/users/ds-sww/following{/other_user}","gists_url":"https://api.github.com/users/ds-sww/gists{/gist_id}","starred_url":"https://api.github.com/users/ds-sww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ds-sww/subscriptions","organizations_url":"https://api.github.com/users/ds-sww/orgs","repos_url":"https://api.github.com/users/ds-sww/repos","events_url":"https://api.github.com/users/ds-sww/events{/privacy}","received_events_url":"https://api.github.com/users/ds-sww/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ds-sww/codebase","description":"","fork":false,"url":"https://api.github.com/repos/ds-sww/codebase","forks_url":"https://api.github.com/repos/ds-sww/codebase/forks","keys_url":"https://api.github.com/repos/ds-sww/codebase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ds-sww/codebase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ds-sww/codebase/teams","hooks_url":"https://api.github.com/repos/ds-sww/codebase/hooks","issue_events_url":"https://api.github.com/repos/ds-sww/codebase/issues/events{/number}","events_url":"https://api.github.com/repos/ds-sww/codebase/events","assignees_url":"https://api.github.com/repos/ds-sww/codebase/assignees{/user}","branches_url":"https://api.github.com/repos/ds-sww/codebase/branches{/branch}","tags_url":"https://api.github.com/repos/ds-sww/codebase/tags","blobs_url":"https://api.github.com/repos/ds-sww/codebase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ds-sww/codebase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ds-sww/codebase/git/refs{/sha}","trees_url":"https://api.github.com/repos/ds-sww/codebase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ds-sww/codebase/statuses/{sha}","languages_url":"https://api.github.com/repos/ds-sww/codebase/languages","stargazers_url":"https://api.github.com/repos/ds-sww/codebase/stargazers","contributors_url":"https://api.github.com/repos/ds-sww/codebase/contributors","subscribers_url":"https://api.github.com/repos/ds-sww/codebase/subscribers","subscription_url":"https://api.github.com/repos/ds-sww/codebase/subscription","commits_url":"https://api.github.com/repos/ds-sww/codebase/commits{/sha}","git_commits_url":"https://api.github.com/repos/ds-sww/codebase/git/commits{/sha}","comments_url":"https://api.github.com/repos/ds-sww/codebase/comments{/number}","issue_comment_url":"https://api.github.com/repos/ds-sww/codebase/issues/comments/{number}","contents_url":"https://api.github.com/repos/ds-sww/codebase/contents/{+path}","compare_url":"https://api.github.com/repos/ds-sww/codebase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ds-sww/codebase/merges","archive_url":"https://api.github.com/repos/ds-sww/codebase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ds-sww/codebase/downloads","issues_url":"https://api.github.com/repos/ds-sww/codebase/issues{/number}","pulls_url":"https://api.github.com/repos/ds-sww/codebase/pulls{/number}","milestones_url":"https://api.github.com/repos/ds-sww/codebase/milestones{/number}","notifications_url":"https://api.github.com/repos/ds-sww/codebase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ds-sww/codebase/labels{/name}","releases_url":"https://api.github.com/repos/ds-sww/codebase/releases{/id}","created_at":"2014-09-18T15:21:02Z","updated_at":"2014-10-18T11:25:36Z","pushed_at":"2014-11-14T01:00:58Z","git_url":"git://github.com/ds-sww/codebase.git","ssh_url":"git@github.com:ds-sww/codebase.git","clone_url":"https://github.com/ds-sww/codebase.git","svn_url":"https://github.com/ds-sww/codebase","homepage":null,"size":7389,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":9,"forks":47,"open_issues":9,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ds-sww/codebase/pulls/378"},"html":{"href":"https://github.com/ds-sww/codebase/pull/378"},"issue":{"href":"https://api.github.com/repos/ds-sww/codebase/issues/378"},"comments":{"href":"https://api.github.com/repos/ds-sww/codebase/issues/378/comments"},"review_comments":{"href":"https://api.github.com/repos/ds-sww/codebase/pulls/378/comments"},"review_comment":{"href":"https://api.github.com/repos/ds-sww/codebase/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ds-sww/codebase/pulls/378/commits"},"statuses":{"href":"https://api.github.com/repos/ds-sww/codebase/statuses/c5de7a26e4d9ca007ca69ca34ca2b21d3b171889"}}}}