题解列表

筛选

###傻瓜办法###

摘要:解题思路:注意事项:参考代码:注意*解包列表,使其纯净输出,否则会带有引号。print(*data[max_idx])data = [] &nbs……

外行人写的,请见谅

摘要:解题思路:用函数注意事项:注意变量的类型参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>void s……

最简单C方法

摘要:解题思路:利用计算机系统位运算注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf(&……

用两次逆序

摘要:解题思路:注意事项:参考代码:data=input().split()data=list(data)for i in data[::-1]: print(i[::-1],en……

用match case写

摘要:解题思路:注意事项:除法取的整除//参考代码:a,b,c=input().split()a=int(a)b=int(b)match c: case "+"……