摘要:
原题链接 官方题解 个人理解: AC代码 #include<bits/stdc++.h> using namespace std; typedef long long ll; int main() { int a,b,c; cin>>a>>b>>c; if(c>a+b-1 || (a==0 && c 阅读全文
摘要:
同步发表于:octal的小站 使用lambda表达式实现sort的自定义排序(C++ and Java) 首先大致讲一下什么是lambda表达式 你也可以将它就当做是匿名函数,lambda表达式其实就是匿名函数演化出的一种语法系统 举个栗子: 普通函数 int function(int x, int 阅读全文