凉心丫
凉心丫
全部文章
题解
ACM(2)
凉心教学C++(2)
未归档(4)
归档
标签
去牛客网
登录
/
注册
凉心
_
全部文章
/ 题解
(共33篇)
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
题解 |
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
Contest Preparation
来自专栏
链接:https://ac.nowcoder.com/acm/contest/34866/B 来源:牛客网 Walk_alone is anxious to prepare for a programming contest, and he has ideas for nn problems now...
C++
2022-05-28
0
763
首页
上一页
1
2
3
4
下一页
末页