牛客263号
牛客263号
全部文章
题解
归档
标签
去牛客网
登录
/
注册
牛客263号的博客
全部文章
/ 题解
(共44篇)
题解 | #字符的个数#
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; // write your code here...... int cnt_a = 0; ...
C++
2022-06-22
0
254
题解 | #利用指针遍历数组#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int* ptr = arr; int len = sizeof(arr) / sizeof(int); ...
C++
2022-06-22
0
210
题解 | #结构体简单使用#
#include <iostream> #include <string> using namespace std; struct student { // write your code here...... string name; int ag...
C++
2022-06-22
0
216
题解 | #字符串拼接#
#include <iostream> #include <string> using namespace std; int main() { string s1, s2; getline(cin, s1); getline(cin...
C++
2022-06-22
0
243
题解 | #计算公司年销售额#
#include <iostream> using namespace std; int main() { int arr[4][3] = {{22,66,44}, {77,33,88}, {25,45,65},{11,66,99}}; int sum = ...
C++
2022-06-22
0
280
题解 | #C++选择排序#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = 0...
C++
2022-06-22
0
198
题解 | #C++冒泡排序#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = 0;...
C++
2022-06-22
0
203
题解 | #数组元素反转#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = ...
C++
2022-06-21
0
216
题解 | #获取数组最值#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = 0...
C++
2022-06-21
0
214
题解 | #规律数列求和#
#include <iostream> using namespace std; int main() { // write your code here...... long long a = 0; long long c = 0; for (int...
C++
2022-06-21
0
264
首页
上一页
1
2
3
4
5
下一页
末页