首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
课程
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
苏柏
获赞
2
粉丝
0
关注
0
看过 TA
8
大连海洋大学
2024
Java
IP属地:贵州
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑苏柏吗?
发布(106)
刷题
苏柏
02-28 19:51
大连海洋大学 计算机类
题解 | #作答试卷得分大于过80的人的用户等级分布#
select level,count(uid) level_cnt from user_info where uid in (select uid from exam_record where exam_id in (select exam_id from examination_info ei where tag = "SQL") and score > 80) group by level order by level_cnt desc
0
点赞
评论
收藏
分享
苏柏
2023-12-08 10:35
大连海洋大学 计算机类
题解 | #获取所有非manager的员工emp_no#
select e.emp_no from employees e where e.emp_no not in (select e.emp_no from employees e inner join dept_manager d on e.emp_no=d.emp_no)
0
点赞
评论
收藏
分享
苏柏
2023-12-08 09:00
大连海洋大学 计算机类
题解 | #查找所有员工#
select last_name,first_name,d.dept_no from employees e left join dept_emp d on e.emp_no=d.emp_no
0
点赞
评论
收藏
分享
苏柏
2023-12-08 08:44
大连海洋大学 计算机类
题解 | #查找当前薪水详情以及部门编号dept_no#
select e.emp_no,salary,from_date,e.to_date,d.dept_no from salaries e inner join dept_manager d on e.to_date=d.to_date and e.emp_no=d.emp_no
0
点赞
评论
收藏
分享
苏柏
2023-12-07 20:13
大连海洋大学 计算机类
题解 | #查找最晚入职员工的所有信息#
select emp_no,birth_date,first_name,last_name,gender,hire_date from employees order by hire_date desc limit 0,1
0
点赞
评论
收藏
分享
苏柏
2023-09-06 20:27
大连海洋大学 计算机类
题解 | #字符串变形#
import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param s string字符串 * @param n int整型 * @return string字符串 */ public String trans (String s, int n) { // write code here String str[]=s.split(&quo...
0
点赞
评论
收藏
分享
苏柏
2023-09-06 19:36
大连海洋大学 计算机类
题解 | #[NOIP2001]装箱问题#
import java.util.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); //动态规划问题 //总共的容量 int total=in.nextInt(); //物体放入的数量 int n=in.nextInt(); //将物体质量放入集合中方便遍...
0
点赞
评论
收藏
分享
苏柏
2023-09-04 20:27
大连海洋大学 计算机类
题解 | #跳台阶#
import java.util.*; //简单递归 public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param number int整型 * @return int整型 */ public int jumpFloor (int number) { // write code here if(number==1){ return 1; }els...
0
点赞
评论
收藏
分享
苏柏
2023-08-30 19:06
大连海洋大学 计算机类
题解 | #牛牛逆序输出#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n=in.nextInt(); String s=Integer.toString(n); StringBuffer sb=new StringBuffer(s); System...
0
点赞
评论
收藏
分享
苏柏
2023-08-30 16:05
大连海洋大学 计算机类
题解 | #牛牛的Hermite多项式#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 int n=in.nextInt(); int x=in.nextInt(); System.out.print(Her(...
0
点赞
评论
收藏
分享
苏柏
2023-08-30 14:16
大连海洋大学 计算机类
题解 | #牛牛的digit#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 String str=in.next(); int n=in.nextInt(); System.out.print(st...
0
点赞
评论
收藏
分享
苏柏
2023-08-28 16:40
大连海洋大学 计算机类
题解 | #兔子的序列#
import java.util.*; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 int n=in.nextInt(); int[]arr=new int[n]; for(int i=0;i<arr.lengt...
0
点赞
评论
收藏
分享
苏柏
2023-08-25 10:18
大连海洋大学 计算机类
题解 | #牛牛的素数和#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 int l=in.nextInt(); int r=in.nextInt(); int count=0; ...
0
点赞
评论
收藏
分享
苏柏
2023-08-25 08:29
大连海洋大学 计算机类
题解 | #[NOIP2010]数字统计#
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 int l=in.nextInt(); int r=in.nextInt(); String s1=Integer.toS...
0
点赞
评论
收藏
分享
苏柏
2023-08-24 14:57
大连海洋大学 计算机类
题解 | The Biggest Water Problem
import java.util.Scanner; // 注意类名必须为 Main, 不要有任何 package xxx 信息 public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); // 注意 hasNext 和 hasNextLine 的区别 int n=in.nextInt(); System.out.print(isBig(n)); } public stat...
0
点赞
评论
收藏
分享
1
2
3
4
5
6
8
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务