编程小鹏
编程小鹏
全部文章
分类
题解(72)
归档
标签
去牛客网
登录
/
注册
编程小鹏的博客
TA的专栏
5篇文章
0人订阅
算法刷题笔记Java
5篇文章
291人学习
全部文章
(共115篇)
题解 | #复制部分字符串#
#include <iostream> using namespace std; int main() { char str[30] = { 0 }; cin.getline(str, sizeof(str)); int m; cin >>...
C++
2022-03-31
0
163
题解 | #获取字符串长度#
#include <iostream> using namespace std; int main() { char str[100] = { 0 }; cin.getline(str, sizeof(str)); //cin.getline(str,sizeof(s...
C++
2022-03-31
0
181
题解 | #移除数组中的元素#
{"css":"","js":"function remove(arr, item) {\n var arr1=[];\n for(var i=0;i<arr.length;i++)\n {\n if(arr[i]!=item)\n ...
HTML/CSS/JavaScript
2022-03-31
0
197
题解 | #创建动态数组#
#include <iostream> using namespace std; int main() { int n; cin >> n; // write your code here...... int *arr=new i...
C++
2022-03-31
0
160
题解 | #创建二维动态数组#
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; // write your code here...... //创建一个动态二维数组 int...
C++
2022-03-31
0
176
题解 | #结构体简单使用#
#include <iostream> #include <string> using namespace std; struct student { // write your code here...... string name; int ag...
C++
2022-03-31
0
191
题解 | #C++选择排序#
#include <iostream> using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = 0...
C++
2022-03-31
0
210
题解 | #返回 2020 年 1 月的所有订单的订单号和订单日期#
模糊查询 select order_num,order_date from Orders where order_date in( select order_date from Orders where order_date like '2020-01%' ) order b...
Mysql
2022-03-30
0
199
题解 | #顾客登录名#
select cust_id,cust_name, upper(concat(left(cust_contact,2),left(cust_city,3))) as user_login from Customers; /* upper():小写转大写 concat(s1,s2):连接两个字符串 ...
Mysql
Mysql
2022-03-30
15
326
题解 | #数组元素反转#
using namespace std; int main() { int arr[6] = { 0 }; int len = sizeof(arr) / sizeof(int); for (int i = 0; i < len; i++) { ...
C++
2022-03-30
0
207
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页