#include <iostream>
#include <algorithm>
#include <array>
#include <vector>
#include <functional>
using namespace std;
int main(){
array<int,8> test = {3,5,7,11,13,17,19,21};
array<int,8> t2 = {3,5,7,11,13,17,19,23};
//判断两个集合是否相等
if(equal(test.begin(),test.end(),t2.begin()))cout<<"equal";
//判断两个集合是否满足参数4的条件
if(equal(test.begin(),test.end(),t2.begin(),[](int i,int j){return i<=j;}))cout<<"content";
if(equal(test.begin(),test.end(),t2.begin(),less_equal<int>()))cout<<"content";
return 0;
}