{"action":"created","issue":{"url":"https://api.github.com/repos/liuchuo/PAT/issues/35","repository_url":"https://api.github.com/repos/liuchuo/PAT","labels_url":"https://api.github.com/repos/liuchuo/PAT/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/liuchuo/PAT/issues/35/comments","events_url":"https://api.github.com/repos/liuchuo/PAT/issues/35/events","html_url":"https://github.com/liuchuo/PAT/issues/35","id":317335995,"number":35,"title":"PAT-A-1065 报告Bug","user":{"login":"littlesevenmo","id":7915267,"avatar_url":"https://avatars1.githubusercontent.com/u/7915267?v=4","gravatar_id":"","url":"https://api.github.com/users/littlesevenmo","html_url":"https://github.com/littlesevenmo","followers_url":"https://api.github.com/users/littlesevenmo/followers","following_url":"https://api.github.com/users/littlesevenmo/following{/other_user}","gists_url":"https://api.github.com/users/littlesevenmo/gists{/gist_id}","starred_url":"https://api.github.com/users/littlesevenmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littlesevenmo/subscriptions","organizations_url":"https://api.github.com/users/littlesevenmo/orgs","repos_url":"https://api.github.com/users/littlesevenmo/repos","events_url":"https://api.github.com/users/littlesevenmo/events{/privacy}","received_events_url":"https://api.github.com/users/littlesevenmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-24T18:05:49Z","updated_at":"2018-04-25T15:54:31Z","closed_at":null,"author_association":"NONE","body":"如题，题目中所说的范围在 [-2^63, 2^63]，而long long 是不能表示2^63的，long long 的最大取值是2^63-1。\r\n因此，在如下测试中，会出错\r\n1\r\n9223372036854775808 -9223372036854775808 -1\r\n很明显A+B=0>-1，应该输出true，但是结果是false。"},"comment":{"url":"https://api.github.com/repos/liuchuo/PAT/issues/comments/384338167","html_url":"https://github.com/liuchuo/PAT/issues/35#issuecomment-384338167","issue_url":"https://api.github.com/repos/liuchuo/PAT/issues/35","id":384338167,"user":{"login":"littlesevenmo","id":7915267,"avatar_url":"https://avatars1.githubusercontent.com/u/7915267?v=4","gravatar_id":"","url":"https://api.github.com/users/littlesevenmo","html_url":"https://github.com/littlesevenmo","followers_url":"https://api.github.com/users/littlesevenmo/followers","following_url":"https://api.github.com/users/littlesevenmo/following{/other_user}","gists_url":"https://api.github.com/users/littlesevenmo/gists{/gist_id}","starred_url":"https://api.github.com/users/littlesevenmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/littlesevenmo/subscriptions","organizations_url":"https://api.github.com/users/littlesevenmo/orgs","repos_url":"https://api.github.com/users/littlesevenmo/repos","events_url":"https://api.github.com/users/littlesevenmo/events{/privacy}","received_events_url":"https://api.github.com/users/littlesevenmo/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T15:54:31Z","updated_at":"2018-04-25T15:54:31Z","author_association":"NONE","body":"我感觉这个题可能是写错了，题目想表达的应该是 [-2^63, 2^63)，即不包括 2^63 的。\r\n但是如果还是按照 [-2^63, 2^63]来做的话，我也没想出太好的办法，目前我的思路是大整数加法，用线性容器（数组，string，vrctor）去做。\r\n正是因为没有想到好的解决办法，所以才不敢贴代码呀。 T^T"}}
{"actor":{"display_login":"littlesevenmo"}}