StephenRay
StephenRay
全部文章
分类
c++(1)
C++语言(9)
代码编程(7)
分支(1)
归档
标签
去牛客网
登录
/
注册
StephenRay的博客
全部文章
(共18篇)
a+b问题(热门新手题)
信息学奥赛一本通 1000:入门测试题目 【题目描述】 求两个整数的和。 【输入】 一行,两个用空格隔开的整数。 【输出】 两个整数的和。 【输入样例】 2 3 【输出样例】 5 //C++代...
2024-08-08
0
0
东方博宜OJ(1161)【入门】「元素插入有序数组」
#include <bits/stdc++.h> // 万能头文件 using namespace std; int main() { int n, a[1000], x, y; cin >> y >> n; for (int i = 0; i < ...
2024-08-08
0
0
【数组】冒泡排序(入门)——划重点!!!
#include <bits/stdc++.h> using namespace std; int main() { int a[20], n, t; cin >> n; //读入数组元素 for (int i = 0; i < n; i++) { ci...
2024-08-08
0
0
东方博宜OJ(1233)排序问题——求中位数(又是冒泡排序!)
1233 - 求中位数 题目描述 中位数指的是一组数,如果按照大小排序排好后最中间的那个数的值,如果有偶数个元素,那么就是最中间两个数的平均数! 比如:22 55 88...
2024-08-08
0
0
东方博宜部分题解(还在努力完善,请多多关照!)——1161是递归算法
1161 #include <bits/stdc++.h> // 万能头文件 using namespace std; int main() { int n, a[1000], x, y; cin >> y >> n; ...
2024-08-08
0
0
斐波那契数列——两种解法(递归版的非递归解法)数据绝不超限!
第一种(数组方式) #include <bits/stdc++.h> using namespace std; int main() { long long a[60], n; ...
2024-08-08
0
0
字符数组(字符串)应用——判断回文数
字符串应用 #include <bits/stdc++.h> #include <stdio.h> using namespace std; int main() { char ...
2024-08-08
0
0
东方博宜OJ
东方博宜OJ网站 CSP文档 8 字符型 8.1 字符型 1967 输出字符的ASCII码 #include <bits/stdc++.h> using namespace std; int main() { char c; cin >> c; cou...
2024-08-08
0
0
CCF(中国计算机学会)-GESP(编程能力等级认证)——使用文档
<mark>1、CCF(中国计算机学会)-GESP(编程能力等级认证) 介绍:</mark> CCF(中国计算机学会)-GESP(编程能力等级认证) 使用网站平台 中国计算机学会编程能力等级认证,英文译名Grade Examination of Software...
2024-08-08
0
0
一个“小”程序
家人们,因为被舍友嘲笑,为了还击他们一遍, 一个输出 <mark>“Hello World ”</mark> 的代码硬是被我写成了足足 <mark>44</mark> 行的代码: 原始版本: #include <cstdio> us...
2024-08-08
0
0
首页
上一页
1
2
下一页
末页