KrisHugo
KrisHugo
全部文章
分类
归档
标签
去牛客网
登录
/
注册
KrisHugo的博客
全部文章
(共4篇)
题解 | 数字的情绪
import sys queryTimes = int(input()) for i in range(queryTimes): line = input() n = int(line) count = 0 length = len(line) for c...
2025-07-18
0
9
题解 | 小美的外卖订单编号
import sys queryTimes = int(input()) for i in range(queryTimes): line = input() m, x = line.split() print(int(m) if int(x) % int(m) == 0 ...
2025-07-18
0
9
题解 | 进制转换
import sys import math # hexDict = { # '0':0, # '1':1, # '2':2, # '3':3, # '4':4, # '5':5, # '6':6, # '7':7, # '8...
2025-06-23
0
21
题解 | 字符串分隔
from math import ceil import sys for line in sys.stdin: a = line.split()[0] length = len(a) printTimes = ceil(length / 8) for i in ra...
2025-06-23
0
23