题解列表

筛选

2840: 向量点积计算

摘要:参考代码:n = int(input()) arrA = list(map(int, input().split())) arrB = list(map(int, input().split())……

2839: 石头剪刀布

摘要:参考代码:def generate(x, y):     flag = True     while flag:         for i in range(len(x)):       &nb

字符串的逆置

摘要: 用两个数组实现字符串的逆置 #include #include int main() { char s[256],b[256]; ……

字符串的修改实现

摘要: 实现字符删除就是看字符串长度是否相同,如果两个字符串大小不相同就要删 实现字符串的修改就是匹配两个字符串的各个字符对应是否相同如果不相同就要修改 #include #incl……

2838: 有趣的跳跃

摘要:参考代码:choose = input().split() if len(choose) == 1:     n = int(choose[0])     arr = list(map(int,……