源码被猫吃了
源码被猫吃了
全部文章
分类
题解(20)
归档
标签
去牛客网
登录
/
注册
源码被猫吃了的博客
全部文章
(共20篇)
题解 | #智能排队系统#
#include <iostream> #include <deque> using namespace std; class Guest { public: string name; bool vip; Guest(string name, bo...
C++
2021-11-06
2
575
题解 | #迭代器遍历容器#
#include <iostream> // write your code here...... #include <algorithm> #include <vector> using namespace std; void print(int i) { ...
C++
2021-11-06
2
583
题解 | #使用算法#
#include <iostream> #include <vector> // write your code here...... #include <algorithm> using namespace std; bool compare(int x, ...
C++
2021-11-06
0
339
题解 | #结构体简单使用#
#include <iostream> #include <string> using namespace std; struct student { // write your code here...... string name; int ag...
C++
2021-11-06
1
529
题解 | #字符串拼接#
#include <iostream> #include <string> using namespace std; int main() { string s1, s2; getline(cin, s1); getline(cin...
C++
2021-11-05
2
548
题解 | #判断成绩等级#
#include <iostream> using namespace std; int main() { int score; cin >> score; // write your code here...... if (sc...
C++
2021-11-05
0
420
题解 | #判断身材状态#
#include <iostream> using namespace std; int main() { double weight; double height; cin >> weight; cin >> heig...
C++
2021-11-05
0
394
题解 | #计算商品打折结算金额#
#include <iostream> #include <iomanip> using namespace std; int main() { double price; cin >> price; double cost ...
C++
2021-11-05
0
361
题解 | #获取三个数中的最大值(三元表达式实现)#
#include <iostream> using namespace std; int main() { int a, b, c; cin >> a; cin >> b; cin >> c; //...
C++
2021-11-05
0
324
题解 | #两数求和#
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a + b << endl; r...
C++
2021-11-05
2
789
首页
上一页
1
2
下一页
末页