自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 c++下grpc开发的环境配置

c++下grpc开发的环境配置

2022-09-28 22:39:11 1712 3

原创 2020-12-19

#include<iostream>using namespace std;class Point { double m_x = 0, m_y = 0;public: Point(double x = 0, double y = 0) : m_x(x), m_y(y) { cout << "Constructor of Point" << endl; } Point(const Point &p) :m_x(p.m_x), m_y(p.m_y)

2020-12-19 13:37:39 87 1

原创 作业2

在这里插入代码片```#include<iostream>#include<vector>using namespace std;int main() { int n,m,c,a; cin >> n; a = n; vector<int>v; for (int i = 1;i <= n;i++) { v.push_back(i); } m = 1+rand() % n - 1; c = m; for (;n > 1;n

2020-12-08 20:13:43 98

原创 2020-11-13

#include <iostream>using namespace std;int main() { int a,b,c,d; cin >> a>> b>>c; if (a < b) { d= b; b = a; a = d; } if (b < c) { d = c; c = b; b = d; } if (a < b) { d = b; b = a; a = d; } cout.

2020-11-13 22:31:22 71

原创 2020-11-13

#include<iostream>#include<cmath>using namespace std;int main() { int a, b, c,d; a = 100; b = 2; d = 0; while (b <= sqrt(a)) { c = a % b; if (c == 0) { a += 1; b = 1; } b += 1; if (b > sqrt(a)) { cout << .

2020-11-13 22:23:59 67

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除