Mi4mooLL
Mi4mooLL
全部文章
分类
归档
标签
去牛客网
登录
/
注册
Mi4mooLL的博客
全部文章
(共46篇)
题解 | #小乐乐改数字#
#include<stdio.h> #include<math.h> int main(void) { int a, result = 0,count = 0; scanf("%d",&a); while(a) { int x ...
2023-01-15
0
244
题解 | #数字的十六进制#
n = int(input()) print(hex(n))
2023-01-11
0
240
题解 | #增加元组的长度#
n = tuple(i for i in range(1,6)) print(n) print(len(n)) n2 = tuple(i for i in range(6,11)) print(n + n2) print(len(n + n2))
2023-01-11
0
226
题解 | #提前结束的循环#
n = int(input()) list = [3, 45, 9, 8, 12, 89, 103, 42, 54, 79] for i in list: if i == n: break print(i)
2023-01-10
0
211
题解 | #牛牛的绩点#
g = {'A':4,'B':3,'C':2,'D':1,'F':0} a1 = [] a2 = [] n1 = input() while n1 != "False": n2 = int(input()) a1.append(n2) a2.append(g[n1] * n2...
2023-01-10
0
179
题解 | #禁止重复注册#
current_users = ['Niuniu','Niumei','GURR','LOLO'] new_users = ['GurR','Niu Ke Le','LoLo','Tuo Rui Chi'] for names in new_users: n = 0 if name...
2023-01-10
0
230
题解 | #二进制位运算#
x,y = input().split() print(int(x)&int(y)) print(int(x)|int(y))
2023-01-09
0
198
题解 | #生成数字列表#
n = input().split(" ") m = [] for i in n: m.append(int(i)) print(m)
2023-01-09
0
195
题解 | #牛牛最好的朋友们#
n1 = input() n2 = input() print(n1 + n2)
2023-01-06
0
175
题解 | #数位之和#
#include <stdio.h> int main(void) { int n, i = 0, j, sum = 0; &...
C
2022-11-01
1
301
首页
上一页
1
2
3
4
5
下一页
末页