摘要:
1 //this problem is same like to (POJ)Seek the Name, Seek the Fame 2 #include <iostream> 3 #include <cstring> 4 #include <string> 5 #include <algorith 阅读全文
摘要:
什么是闭包(closure): 当你声明一个局部变量时,这个局部变量有作用域,通常局部变量值只存在于你定义的Block or Function中: 如果你想要尝试访问一个局部变量,大多数的语言都会在当前作用域去找,然后去找上一层的作用域,最后找到根作用域(root scope) 当一个Block o 阅读全文