源码被猫吃了
源码被猫吃了
全部文章
分类
题解(20)
归档
标签
去牛客网
登录
/
注册
源码被猫吃了的博客
全部文章
(共20篇)
题解 | #获取字符串长度#
#include <iostream> #include <cstring> using namespace std; int main() { char str[100] = { 0 }; cin.getline(str, sizeof(str)); ...
C++
2021-11-10
16
744
题解 | #去除字符串中重复的字符#
#include <iostream> // write your code here...... #include <set> #include <cstring> using namespace std; int main() { char st...
C++
2021-11-08
0
438
题解 | #打印乘法表#
#include <iostream> using namespace std; int main() { int n; cin >> n; // write your code here...... for (int i = 1...
C++
2021-11-07
0
430
题解 | #输出水仙花数#
#include <iostream> #include <cmath> using namespace std; int main() { // write your code here...... int b = 0; int s = ...
C++
2021-11-07
0
392
题解 | #计算一个数的阶乘#
#include <iostream> using namespace std; int main() { int n; cin >> n; long long factorial = 1; // write your c...
C++
2021-11-07
8
476
题解 | #求 1 - n 之间偶数的和#
#include <iostream> using namespace std; int main() { int n; cin >> n; int sum = 0; // write your code here.......
C++
2021-11-07
5
766
题解 | #判断季节#
#include <iostream> using namespace std; int main() { int month; cin >> month; // write your code here...... swit...
C++
2021-11-07
16
627
题解 | #点和圆的关系#
#include <iostream> #include <cmath> using namespace std; // 点类 class Pointer { private: int x; // x 坐标 int y; // ...
C++
2021-11-07
0
482
题解 | #设计立方体类#
#include <iostream> using namespace std; class Cube { // write your code here...... private: int length; int width; ...
C++
2021-11-06
6
584
题解 | #构造函数#
#include <iostream> #include <string> using namespace std; // Person类 class Person { public: string name; // 姓名 i...
C++
2021-11-06
8
661
首页
上一页
1
2
下一页
末页