{"action":"opened","issue":{"url":"https://api.github.com/repos/YonTon/SelectCourse/issues/3","repository_url":"https://api.github.com/repos/YonTon/SelectCourse","labels_url":"https://api.github.com/repos/YonTon/SelectCourse/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/YonTon/SelectCourse/issues/3/comments","events_url":"https://api.github.com/repos/YonTon/SelectCourse/issues/3/events","html_url":"https://github.com/YonTon/SelectCourse/issues/3","id":179003091,"number":3,"title":"随机选课模拟实现","user":{"login":"Calotte","id":18065401,"avatar_url":"https://avatars.githubusercontent.com/u/18065401?v=3","gravatar_id":"","url":"https://api.github.com/users/Calotte","html_url":"https://github.com/Calotte","followers_url":"https://api.github.com/users/Calotte/followers","following_url":"https://api.github.com/users/Calotte/following{/other_user}","gists_url":"https://api.github.com/users/Calotte/gists{/gist_id}","starred_url":"https://api.github.com/users/Calotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calotte/subscriptions","organizations_url":"https://api.github.com/users/Calotte/orgs","repos_url":"https://api.github.com/users/Calotte/repos","events_url":"https://api.github.com/users/Calotte/events{/privacy}","received_events_url":"https://api.github.com/users/Calotte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/YonTon/SelectCourse/milestones/1","html_url":"https://github.com/YonTon/SelectCourse/milestones/%E9%9A%8F%E6%9C%BA%E9%80%89%E6%8B%A9","labels_url":"https://api.github.com/repos/YonTon/SelectCourse/milestones/1/labels","id":2025524,"number":1,"title":"随机选择","description":null,"creator":{"login":"Calotte","id":18065401,"avatar_url":"https://avatars.githubusercontent.com/u/18065401?v=3","gravatar_id":"","url":"https://api.github.com/users/Calotte","html_url":"https://github.com/Calotte","followers_url":"https://api.github.com/users/Calotte/followers","following_url":"https://api.github.com/users/Calotte/following{/other_user}","gists_url":"https://api.github.com/users/Calotte/gists{/gist_id}","starred_url":"https://api.github.com/users/Calotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calotte/subscriptions","organizations_url":"https://api.github.com/users/Calotte/orgs","repos_url":"https://api.github.com/users/Calotte/repos","events_url":"https://api.github.com/users/Calotte/events{/privacy}","received_events_url":"https://api.github.com/users/Calotte/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-09-24T01:22:40Z","updated_at":"2016-09-24T01:23:19Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-24T01:23:19Z","updated_at":"2016-09-24T01:23:19Z","closed_at":null,"body":" 对于给定数据元素为Student（name,flag,tag），以txt格式存放在F盘testData文件夹里，文件名为student.txt，将数据读取到给定容器vector中，实现从vector中选取m个元素，选中的元素tag=1，未选中的tag=0，且选中的m个元素排在vector前面，未选中的排在后面。对于flag=1的元素，其被选中的概率比flag=0的概率大25%。"}}
{"actor":{"display_login":"Calotte"}}