摘要:
#include<functional>#include<iostream>#include<vector>#include<algorithm>using namespace std;int main(){ int intArr[]={30,90,10,40,70,50,20,80}; const 阅读全文
摘要:
#include<iostream> #include<numeric> #include<functional> using namespace std; int main() { int a[]={1,2,3,4,5}; const int N=sizeof(a)/sizeof(int); co 阅读全文
摘要:
#include<iostream>#include<numeric>using namespace std;class MultClass{ public: int operator() (int x,int y) const{return x*y;}};int main(){ int a[]={ 阅读全文
摘要:
#include<iostream>#include<numeric>using namespace std;int mult(int x,int y) {return x*y;};int main(){ int a[]={1,2,3,4,5}; const int N=sizeof(a)/size 阅读全文