shenggong
shenggong
全部文章
分类
题解(49)
归档
标签
去牛客网
登录
/
注册
shenggong的博客
全部文章
(共49篇)
题解 | #幸运数字的大小#
a = int(input()) b = int(input()) c = int(input()) list = [] list.append(a) list.append(b) list.append(c) list.sort() print(list[0]) print(list)
Python3
2022-06-28
0
0
题解 | #单词造句#
str = input() list = str.split(',') print(list) print(' '.join(list))
Python3
2022-06-20
0
259
题解 | #小乐乐与欧几里得#
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(...
Java
2022-06-19
0
244
题解 | #游乐园的门票#
while True: print("Please tell me your height!\nEnter 'quit' to end the program.") str = input() if(str == '...
2022-06-17
0
204
题解 | #游乐园的门票#
while True: print("Please tell me your height!\nEnter 'quit' to end the program.") str = input() if(str == '...
2022-06-17
0
211
题解 | #去掉空行#
while read line do if [[ -z $line ]];then continue else echo $line...
bash
2022-06-12
0
0
题解 | #输出第5行的内容#
line=0 while read p do ((line++)) if [[ $line -eq 5 ]] then echo $p ...
bash
2022-06-10
1
339
题解 | #输出7的倍数#
方法1: for i in {0..500} do if [[ i%7 -eq 0 ]];then echo $i  ...
bash
2022-06-10
1
0
题解 | #奇偶统计#
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(...
Java
2022-06-04
0
279
题解 | #小乐乐求和#
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(...
Java
2022-06-04
0
225
首页
上一页
1
2
3
4
5
下一页
末页