ill__
ill__
全部文章
分类
题解(22)
归档
标签
去牛客网
登录
/
注册
ill__的博客
全部文章
(共24篇)
题解 | #构造序列#
n,m = map(int,input().split()) if n==m&nbs***bsp;abs(n-m)==1: print(n+m) else: print(mi...
2025-10-08
1
16
题解 | #简单图形问题 - 0123#
import math T = int(input()) for i in range(T): s = int(input()) &nb...
2025-10-08
1
17
题解 | #小红打怪#
n,m = map(int,input().split()) x,y,direction = 0, 0, '' grid = [] for i in range(n): &nbs...
臻选题
2025-10-08
1
16
题解 | #小红的三倍数#
#这题太离谱了,不能提前终止进程,否则会判错 n,x = map(int ,input().split()) cnt = 0 move = list(map(int,input().split())) for ...
2025-10-07
1
16
题解 | #小红的字符串生成#
x,y =input().split() if x == y: s = [x,x+y] else: s = [x,y,x+y...
2025-10-07
1
15
题解 | #小红的字符串#
s = input() cnt = 0 n = len(s) for i in range(n//2): d = abs(ord(s[i])&...
2025-10-07
0
16
题解 | #美味饼干#
T = int(input()) for _ in range(T): cnt = 0 a = list(map(...
2025-10-07
1
17
题解 | #小红的最大价值#
hhh我灵机一动想出了炒鸡简单的代码[羞涩] 值得细品 n,k = map(int,input().split()) a = list(map(int,input().split())) a.sort() if a[n-1]-a[0]&nb...
2025-10-07
1
17
题解 | #博丽神社的巫女#
n,x = map(int,input().split()) a = list(map(int,input().split())) cnt = 0 insert_coins =0 for i in&...
2025-10-06
1
16
题解 | #小念吹气球#
n = int(input()) s = input().strip() balloons = 0 solved = set() for char in s: &nb...
2025-10-06
1
19
首页
上一页
1
2
3
下一页
末页