chong_0428
chong_0428
全部文章
分类
归档
标签
去牛客网
登录
/
注册
chong_0428的博客
全部文章
(共128篇)
题解 | #简单密码#
while True: try: while True: arr=[] s = input() if(s=='START'): continue ...
2024-02-29
0
189
题解 | #加减乘除#
def mul(a): if a<2: return a return mul(a-1)*a while True: try: s = input().split() if len(s) == 3: ...
2024-02-29
0
185
题解 | #数字求和#
while True: try: a = list(map(int,input().split())) f = a[0] arr=[] for i in a[1:]: if i<f: ...
2024-02-29
0
194
题解 | #Number Steps#
#include<stdio.h> int main() { int j = 0, i; int a[5000][5000]; //printf("%d",a[1][1]); for (int i = 0; i < 5000; i...
2024-02-29
0
200
题解 | #打印极值点下标#
def point_ex(s): k=0 arr=[] if s[0]!=s[1]: arr.append(0) if s[-1]!=s[-2]: arr.append(len(s)-1) for i in s[1:len(s)...
2024-02-28
0
236
题解 | #位操作练习#
def af(a,b): ab=bin(a) bb=bin(b) ab=ab[2:] bb=bb[2:] for i in range(16-len(ab)): ab = '0'+ab # for j in range(16):...
2024-02-28
0
158
题解 | #字符串内排序#
while True: try: s = input() arr = [] for i in s: arr.append(i) arr.sort() st = '' ...
2024-02-27
0
223
题解 | #Digital Roots#
def root(d): global arr,s arr=[] if d <=9: return d else: while d>0: arr.append(d%10) ...
2024-02-27
0
192
首页
上一页
4
5
6
7
8
9
10
11
12
13
下一页
末页