摘要: 1065 A+B and C (64bit) (20分) Given three integers A, B and C in [−2​^63​​,2^​63​​], you are supposed to tell whether A+B>C. Input ... 阅读全文
posted @ 2020-03-02 18:16 Hu_YaYa 阅读(13) 评论(0) 推荐(0)
摘要: 1046 Shortest Distance (20分) The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed t... 阅读全文
posted @ 2020-03-02 17:50 Hu_YaYa 阅读(16) 评论(0) 推荐(0)
摘要: 1042 Shuffling Machine (20分) Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techni... 阅读全文
posted @ 2020-03-02 17:20 Hu_YaYa 阅读(25) 评论(0) 推荐(0)