摘要: 一、遍历函数 1.for_each遍历函数 #include<iostream> using namespace std; #include<algorithm> #include<vector> //for_each遍历函数 //普通函数 void pri(int val) { cout << v 阅读全文
posted @ 2021-01-29 23:20 loliconsk 阅读(252) 评论(0) 推荐(0)
摘要: 一直不通过难受 #include<stdio.h> #include<string.h> int site[11][11]; int x[11]; int yy[11]; void show() { for (int i = 1; i < 11; i++) { for (int j = 1; j < 阅读全文
posted @ 2021-01-29 16:17 loliconsk 阅读(64) 评论(0) 推荐(0)
摘要: #include<cstdio> #include<iostream> using namespace std; #include<map> #include<cctype> #include<algorithm> #include<vector> map<string, int > mp; str 阅读全文
posted @ 2021-01-29 16:11 loliconsk 阅读(84) 评论(0) 推荐(0)
摘要: #include<cstdio> #include<iostream> using namespace std; #include<set> #include<sstream> int main(void) { set<string> sp;//set容器类似于集合,不会出现相同的值,并且会自动将值 阅读全文
posted @ 2021-01-29 14:40 loliconsk 阅读(61) 评论(0) 推荐(0)