牛客297995581号
牛客297995581号
全部文章
分类
题解(46)
归档
标签
去牛客网
登录
/
注册
牛客297995581号的博客
全部文章
(共48篇)
题解 | #明明的随机数#
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class RandomNumbers { public static void main(String[] args) { // ...
2023-03-13
1
269
题解 | #进制转换#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2023-01-28
0
303
题解 | #字符串分隔#
import java.util.Scanner; import java.io.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { ...
2023-01-28
0
304
题解 | #明明的随机数#
import java.util.Scanner; import java.util.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { ...
2023-01-28
0
243
题解 | #计算某字符出现次数#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in =...
2023-01-28
0
231
题解 | #字符串最后一个单词的长度#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static int compute(String str) { // 1.空格分隔成数组,...
2023-01-28
0
234
题解 | #顾客登录名#
select cust_id,cust_name, // 1.转大写2.字符串拼接3.字符串截取:substring(列,起始位置,结束位置),起始位置下标为1 upper(concat(substring(cust_contact,1,2),substring(cust_city...
Mysql
2022-03-25
0
311
题解 | #纠错2#
select prod_name,prod_desc from Products # where prod_desc like '%toy%' and prod_desc like '%carrots%';#行 # where prod_desc like '%toy%' and '%carrots...
Mysql
2022-03-25
163
4661
题解 | #返回所有价格在 3美元到 6美元之间的产品的名称和价格#
select prod_name,prod_price from Products where prod_price between 3 and 6 order by prod_price;//默认升序
Mysql
2022-03-25
0
309
题解 | #检索并列出已订购产品的清单#
select order_num,prod_id,quantity from OrderItems where prod_id in('BR01','BR02','BR03') and quantity >= 100; 注意:prod_id 是字符串类型
Mysql
2022-03-25
0
345
首页
上一页
1
2
3
4
5
下一页
末页