摘要: 最近做了一道题目: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note:Assume we are dealing with an environment 阅读全文
posted @ 2019-02-23 12:30 别再闹了 阅读(13483) 评论(1) 推荐(0)
摘要: 题目如下: Arijit is a brilliant boy. He likes memory games. He likes to participate alone but this time he has to have a partner. So he chooses you. In th 阅读全文
posted @ 2019-02-21 21:08 别再闹了 阅读(225) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/Nonono-nw/p/3462183.html 阅读全文
posted @ 2019-02-21 21:03 别再闹了 阅读(200) 评论(0) 推荐(0)
摘要: https://jingyan.baidu.com/article/29697b9106eb52ab21de3c7a.html 将十进制的负数变成二进制数的过程: 1.写出绝对值的二进制码(原码) 2.取反(反码) 3.+1,(补码) 同理,将二进制的负数换成十进制的负数的过程 1.-1 2.取反 阅读全文
posted @ 2019-01-25 22:24 别再闹了 阅读(1791) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u011402896/article/details/80727163 原理见下文:https://blog.csdn.net/borefo/article/details/4622288 A=A^B;B=A^B;A=A^B; 可以认为异或一次之后的A表示 阅读全文
posted @ 2019-01-25 21:18 别再闹了 阅读(342) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u012441545/article/details/51404412 阅读全文
posted @ 2018-12-01 23:49 别再闹了 阅读(476) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/li-peng/p/4116349.html 阅读全文
posted @ 2018-12-01 20:49 别再闹了 阅读(138) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/xiaodingmu/p/7407307.html 阅读全文
posted @ 2018-12-01 11:57 别再闹了 阅读(148) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/chris-cp/p/3578976.html c++的默认拷贝构造函数,从深度拷贝和浅拷贝说起: https://blog.csdn.net/qq_29344757/article/details/76037255 阅读全文
posted @ 2018-12-01 11:57 别再闹了 阅读(318) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/mary19920410/article/details/77372828 阅读全文
posted @ 2018-11-22 00:25 别再闹了 阅读(394) 评论(0) 推荐(0)