题解列表

筛选

2839: 石头剪刀布

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

2840: 向量点积计算

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

2843: 计算2的N次方

摘要:解题思路:                 注意事项:参考代码:print(2 ** int(input()))……

2844: 大整数的因子

摘要:参考代码:c = int(input()) s = '' for k in range(2, 10):     if c % k == 0:         s += str(……

自定义函数之数字分离

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){    char a[4];    scanf("%s",a);    i……

C++速度求解,够取巧

摘要:解题思路:暴力!按题目求解注意事项: 注意有局限性,万一人家输入的数组是乱序排放呢参考代码:#include <bits/stdc++.h>using namespace std;#define N ……