阿达新
阿达新
全部文章
分类
题解(55)
归档
标签
去牛客网
登录
/
注册
阿达新的博客
全部文章
(共55篇)
题解 | #整数与IP地址间的转换#
try: strs = set(input()) print(len(strs)) except: break
Python3
2022-03-28
0
196
题解 | #整数与IP地址间的转换#
# -*-coding:utf-8-*- while True: try: input_ip , input_num = list(map(int , input().split("."))) , int(input()) i_b_s ...
Python3
2022-03-23
0
209
题解 | #挑7#
# -*-coding:utf-8-*- while True: try: n = int(input()) k = [] for i in range(1 , n + 1): i...
Python3
2022-03-23
0
157
题解 | #字符串加密#
# -*-coding:utf-8-*- import string while True: try: input_1,input_str = input(),input() #输入一个单词,以及要加密的明文str str_a = li...
Python3
2022-03-22
0
188
题解 | #最长回文子串#
# -*-coding:utf-8-*- while True: try: input_s = input() n = 0 for i in range(len(input_s)): ...
Python3
2022-03-22
0
188
题解 | #密码强度等级#
# -*-coding:utf-8-*- import re while True: try: input_s = input() score = 0 if len(input_s) <= 4: ...
Python3
2022-03-21
0
248
题解 | #放苹果#
# -*-coding:utf-8-*- def apdisk(m , n): if m < 0 or n < 0: return 0 elif m == 1 or n == 1: return 1 ...
Python3
2022-03-21
0
198
题解 | #计算日期到天数转换#
# -*-coding:utf-8-*- import calendar while True: try: input_date = list(map(int , input().split(" "))) year = input_date[0] ...
Python3
2022-03-20
0
232
题解 | #二维数组操作#
# -*-coding:utf-8-*- while True: try: i_xy,swap_xy,insert_x,insert_y,find_xy=list(map(int,input().split())),list(map(int,input().split()))...
Python3
2022-03-20
0
236
题解 | #整型数组合并#
# -*-coding:utf-8-*- while True: try: input_m1,input_n1,input_m2,input_n2 =input(),input().split(),input(),input().split() input_...
Python3
2022-03-20
0
175
首页
上一页
1
2
3
4
5
6
下一页
末页