题解列表

筛选

2888: 图像模糊处理

摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split())l = []for i in range(n):    s = list(map(int,input().sp……

2892: 最好的草

摘要:解题思路:注意事项:参考代码:n,m=map(int,input().strip().split())l = [list(j for j in input()) for i in range(n)]s……

基于scanf输入判断的优化和补充

摘要:解题思路:使用fgets函数替换gets函数,避免缓冲区溢出。使用sscanf函数格式化输入。注意事项:1.gets函数由于它的不安全已经不在使用,因此使用fgets函数进行替换。2.在进行多个字符串……