摘要:
1.不可以重载的运算符: ::, .*, ., ? :。 2.一元重载:只有一个参数 二元重载:有两个参数,左侧运算对象传递第一个参数,右侧运算对象传递第二个参数。 在类外:void operator+(int, int) 类内:Name operator(int)。因为会有一个隐含的this指针, 阅读全文
posted @ 2017-10-08 19:28
CoderZSL
阅读(286)
评论(0)
推荐(0)
摘要:
题目: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical. 阅读全文
posted @ 2017-10-08 19:17
CoderZSL
阅读(131)
评论(0)
推荐(0)

浙公网安备 33010602011771号