首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
年华201905241506786
获赞
0
粉丝
0
关注
6
看过 TA
4
河北农业大学
2018
数据仓库
IP属地:北京
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑年华201905241506786吗?
发布(83)
评论
刷题
收藏
年华201905241506786
关注TA,不错过内容更新
关注
2024-12-03 17:10
河北农业大学 数据仓库
题解 | #找出每个学校GPA最低的同学#
select device_id,university,gpa from ( select device_id,university,gpa, row_number() over(partition by university order by gpa ) rn from user_profile) a where rn =1;
0
点赞
评论
收藏
分享
2024-12-03 16:30
河北农业大学 数据仓库
题解 | #去掉所有包含this的句子#
#!/bin/bash grep -v 'this' ./nowcoder.txt
0
点赞
评论
收藏
分享
2024-12-03 14:37
河北农业大学 数据仓库
题解 | #转置文件的内容#
#!/bin/bash awk '{printf $1" "}' nowcoder.txt awk '{printf $2" "}' nowcoder.txt
0
点赞
评论
收藏
分享
2024-12-03 14:12
河北农业大学 数据仓库
题解 | #统计文件的行数#
#!/bin/bash wc -l
0
点赞
评论
收藏
分享
2024-12-03 13:56
河北农业大学 数据仓库
题解 | #第二列是否有重复#
#!/bin/bash while read -a line;do echo ${line[1]}; done < nowcoder.txt | sort | uniq -c | awk ' $1 > 1 {print $0}' | sort -n
0
点赞
评论
收藏
分享
2024-12-03 13:46
河北农业大学 数据仓库
题解 | #统计每个单词出现的个数#
#!/bin/bash cat nowcoder.txt | xargs -n1 |sort | uniq -c| sort -n | awk '{print $2,$1}'
0
点赞
评论
收藏
分享
2024-12-03 10:11
河北农业大学 数据仓库
题解 | #统计所有进程占用内存百分比的和#
#!/bin/bash while read -a line;do echo ${line[3]}; done <nowcoder.txt | awk '{sum+=$1} END {print sum}'
0
点赞
评论
收藏
分享
2024-12-02 17:31
河北农业大学 数据仓库
题解 | #求最小公倍数#
import java.util.*; public class Main { public static void main(String[] args) { Scanner console = new Scanner(System.in); int m = console.nextInt(); int n = console.nextInt(); int result = getCM(m, n); System.out.println(result); } public static int getCM(int m, int n){ //write your code here.........
0
点赞
评论
收藏
分享
2024-12-02 13:50
河北农业大学 数据仓库
题解 | #统计输入正数个数#
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); StringBuilder numbers = new StringBuilder(); int count = 0; while (scanner.hasNextInt()) { int number = scanner.nextInt(); if (number > 0) { if (count > 0) { numbers...
0
点赞
评论
收藏
分享
2023-10-10 16:34
河北农业大学 数据仓库
题解 | #牛客网的第10位用户#
import pandas as pd df = pd.read_csv("Nowcoder.csv") print(df.loc[10])
0
点赞
评论
收藏
分享
2023-09-18 16:15
河北农业大学 数据仓库
题解 | #挑7#
import re # 输入数值转换为int a = int(input()) pattern = r"7" b = [] # 循环 for i in range(1, a + 1): # 判断是否可以被7整除 if i % 7 == 0: b.append(i) elif str(i).count("7") > 0: b.append(i) print(len(b))
0
点赞
评论
收藏
分享
2023-09-15 15:51
河北农业大学 数据仓库
题解 | #截取字符串#
a = input() b = int(input()) print(a[:b])
0
点赞
评论
收藏
分享
2023-09-15 15:13
河北农业大学 数据仓库
题解 | #图片整理#
a =list(input()) a.sort() print("".join(a))
0
点赞
评论
收藏
分享
2023-09-14 10:58
河北农业大学 数据仓库
题解 | #求int型正整数在内存中存储时1的个数#
a = int(input()) b = bin(a) print(b.count('1'))
0
点赞
评论
收藏
分享
2023-09-13 16:03
河北农业大学 数据仓库
题解 | #字符个数统计#
it_word = set(input()) print(len(it_word))
0
点赞
评论
收藏
分享
1
2
3
4
5
6
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务