仰_
仰_
全部文章
分类
归档
标签
去牛客网
登录
/
注册
仰_的博客
全部文章
(共38篇)
题解 | #查找#
#include<bits/stdc++.h> using namespace std; int main() { set<int>s; //write your code here...... int m, n; cin >> n...
2024-11-19
0
26
题解 | #最后k个元素#
#include<bits/stdc++.h> using namespace std; int main(){ int n,k; vector<int>a; // write your code here...... cin >> n >> ...
2024-11-19
0
43
题解 | #迭代器遍历set#
#include<bits/stdc++.h> using namespace std; int main(){ set<int> s; // write your code here...... int a, b, c, d, e; cin >> a &...
2024-11-18
0
42
题解 | #多态实现求面积体积#
#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; w...
2024-11-18
0
36
题解 | #求长方体表面积#
#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; w...
2024-11-17
0
42
题解 | #构建长方体类#
#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; w...
2024-04-19
0
213
题解 | #重载小于号#
#include <iostream> using namespace std; class Time { public: int hours; // 小时 int minutes; // 分钟 Time() ...
2024-04-19
0
212
题解 | #友元类#
#include<bits/stdc++.h> using namespace std; class phone{ // write your code here...... friend class myphone; private: int price; public: ...
2024-04-19
0
190
题解 | #数组类的拷贝构造函数#
#include<bits/stdc++.h> using namespace std; class Array{ private: int n;//数组大小 int *a;//数组 public: Array(){ cin>>n; a=new...
2024-04-19
0
178
题解 | #数组类的构造函数#
#include<bits/stdc++.h> using namespace std; class Array{ private: int n;//数组大小 int *a;//数组 public: // write your code here...... ...
2024-04-19
0
155
首页
上一页
1
2
3
4
下一页
末页