Acaibird
Acaibird
全部文章
个人笔记
题解(14)
归档
标签
去牛客网
登录
/
注册
Acaibird的博客
全部文章
/ 个人笔记
(共16篇)
STL交集,并集函数set_union,set_intersection,set_difference
//#include <bits/stdc++.h> #include <functional> #include <iostream> #include <cstdio> #include <algorithm> #include <...
2022-09-26
0
367
求多边形面积公式(已经知道顶点坐标)
链接 int t; cin>>t; while(t--) { int n; cin>>n; for(int i=1;i<=n;i++){ double x,y,x0,y0,sum = 0.0; cin ...
2022-08-29
0
328
cin,cout流对象
1.cout<<endl;立即输出输出缓冲区的数据,并且刷新缓冲区;如果是cout<<'\n'则不会刷新缓冲区,只是会换行。 2.cerr直接输出无缓冲区; 3.clog有缓冲区; 4.cin.get(char *,n,delimiter) 只是读取n-1个字符给字符指针所在...
2022-08-21
0
0
错排递归公式
链接
2022-08-18
0
254
读取一行
链接
2022-08-04
0
188
对象指针,this指针
#include <iostream> using namespace std; class student { string name; int id; char gender; public: student(string a, int b, ch...
C++
2022-08-01
0
271
首页
上一页
1
2
下一页
末页