摘要:
Matlab 官方文档: https://www.mathworks.com/help/ 阅读全文
posted @ 2021-01-16 19:09
loliconsk
阅读(66)
评论(0)
推荐(0)
摘要:
#include<stdio.h> #include<stdlib.h> #include<string.h> void prefix_table(char pattern[], int prefix[],int n) { prefix[0] = 0; int len = 0; int i = 1; 阅读全文
posted @ 2021-01-16 15:08
loliconsk
阅读(140)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<algorithm> #include<vector> //二元谓词 class Mycmp { public: bool operator()(int val1, int val2) { return 阅读全文
posted @ 2021-01-16 12:17
loliconsk
阅读(138)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; #include<vector> #include<algorithm> //一元谓词 //仿函数 返回值类型是bool数据类型,称为谓词 //一元谓词 class GreaterFive { public: bool 阅读全文
posted @ 2021-01-16 11:33
loliconsk
阅读(314)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; //函数对象的基本使用 class MyAdd { public: MyAdd() { this->count = 0; } int operator()(int a, int b) { count++; return 阅读全文
posted @ 2021-01-16 10:26
loliconsk
阅读(107)
评论(0)
推荐(0)

浙公网安备 33010602011771号