潍坊鲨鱼公园儿童大学
潍坊鲨鱼公园儿童大学
全部文章
题解
归档
标签
去牛客网
登录
/
注册
潍坊鲨鱼公园儿童大学的博客
全部文章
/ 题解
(共33篇)
标题统计
#include <cctype> #include <iostream> #include <string> using namespace std; int main() { string str; getline(cin, str); ...
2021-01-30
0
743
数字统计
#include <iostream> using namespace std; int main() { int left; int right; cin >> left >> right; const int x = 2; ...
2021-01-30
2
659
强强联合
#include <iostream> #include <cmath> using namespace std; int main() { int boy_count; int girl_count; cin >> boy_count...
2021-01-30
1
711
先进后出
#include <iostream> #include <stack> using namespace std; int main() { int size; cin >> size; for (int i = 0; i < s...
2021-01-30
2
648
箱子归位
#include <iostream> using namespace std; int main() { const int CENTER_COL = 2; // 中心位置行索引 const int CENTER_ROW = 2; // 中心位置列索引 co...
2021-01-29
1
611
定位查找
#include <iostream> using namespace std; int main() { const int ARRAY_SIZE = 20; int arr[ARRAY_SIZE] = {0}; int size; while (c...
2021-01-28
0
664
回文对称数
#include <iostream> #include <string> using namespace std; // 判断是否为回文 bool IsPalindrome(int i) { string str = to_string(i); for ...
2021-01-28
0
1567
数位五五
#include <iostream> using namespace std; // 求每位之和 int PlaceSum(int i) { int sum = 0; while (i != 0) { sum += i % 10; i...
2021-01-28
0
568
复制输出
#include <iostream> #include <string> using namespace std; int main() { string str; getline(cin, str); cout << str; ...
2021-01-26
1
647
阶乘计算
#include <iostream> using namespace std; int main() { int num; cin >> num; int sum = 0; for (int i = 1; i <= num; i+...
2021-01-26
0
515
首页
上一页
1
2
3
4
下一页
末页