凉心丫
凉心丫
全部文章
分类
ACM(2)
凉心教学C++(2)
未归档(4)
题解(33)
归档
标签
去牛客网
登录
/
注册
凉心
_
TA的专栏
36篇文章
0人订阅
凉心哥哥的小宝藏
36篇文章
1659人学习
计类21-2班 计算机实验题
0篇文章
0人学习
全部文章
(共39篇)
2023/3/21
#define _CRT_SECURE_NO_WARNINGS #include "bits/stdc++.h" using namespace std; typedef long long ll; int main() { ll a, b; cin >> a >>...
C++
2023-03-27
0
312
2022/9/15
#define _CRT_SECURE_NO_WARNINGS #pragma GCC optimize #include <bits/stdc++.h> using namespace std; typedef struct SNode { int eof; int exp; ...
C++
2022-09-15
0
324
题解 |
A #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 2e5 + 50; struct node { int x, r; int l, R; }a[N]; bool cmp...
C++
2022-07-19
2
400
2. 运算符重载综合应用
来自专栏
#include <iostream> using namespace std; class Point { int _x, _y; public: Point(int x = 0, int y = 0) :_x(x), _y(y) {} Point...
C++
2022-06-07
0
431
1. 虚基类vehicle
来自专栏
#include<iostream> using namespace std; class Vehicle { public: int MaxSpeed; int Weight; virtual void Run() ...
C++
2022-06-07
0
566
2. 继承
来自专栏
#include <iostream> using namespace std; class Shape { public: Shape() {} ~Shape() {} virtual float GetArea() ...
C++
2022-06-07
0
416
. 虚基类vehicle
来自专栏
#include<iostream> using namespace std; class Vehicle { public: int MaxSpeed; int Weight; void Run() { cout ...
C++
2022-06-07
0
456
1. 运算符重载为成员函数(单目运算符重载)
来自专栏
#include<iostream> using namespace std; class complex { public: complex(double r = 0.0, double i = 0.0) { real = r; imag ...
C++
2022-06-07
0
471
. 运算符重载为非成员函数-复数加减法
来自专栏
#include<iostream> using namespace std; class complex { public: complex(double r = 0.0, double i = 0.0) { real = r; imag = i; } fri...
C++
2022-06-07
0
530
hgc_experience
来自专栏
#include<iostream> using namespace std; class Clock { public: Clock(int NewH, int NewM, int NewS); void ShowTime(); Clock&...
C++
2022-06-07
0
479
首页
上一页
1
2
3
4
下一页
末页