2840: 向量点积计算 摘要:参考代码:n = int(input()) arrA = list(map(int, input().split())) arrB = list(map(int, input().split())…… 题解列表 2024年03月21日 0 点赞 0 评论 395 浏览 评分:0.0
2841: 大整数加法 摘要:参考代码:x = int(input()) y = int(input()) print(x + y)…… 题解列表 2024年03月21日 0 点赞 0 评论 538 浏览 评分:0.0
2842: 大整数减法 摘要:参考代码:x = int(input()) y = int(input()) print(x - y)…… 题解列表 2024年03月21日 0 点赞 0 评论 597 浏览 评分:0.0
2844: 大整数的因子 摘要:参考代码:c = int(input()) s = '' for k in range(2, 10): if c % k == 0: s += str(…… 题解列表 2024年03月21日 0 点赞 0 评论 512 浏览 评分:0.0
2845: 求10000以内n的阶乘 摘要:参考代码:n = int(input()) sum = 1 for i in range(1, n+1): sum *= i print(sum)…… 题解列表 2024年03月21日 0 点赞 0 评论 415 浏览 评分:0.0
自定义函数之数字分离 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[4]; scanf("%s",a); i…… 题解列表 2024年03月21日 0 点赞 0 评论 184 浏览 评分:0.0
C++速度求解,够取巧 摘要:解题思路:暴力!按题目求解注意事项: 注意有局限性,万一人家输入的数组是乱序排放呢参考代码:#include <bits/stdc++.h>using namespace std;#define N …… 题解列表 2024年03月21日 0 点赞 0 评论 240 浏览 评分:0.0
【C语言题解】编写题解 1681: 数据结构-行编辑程序 摘要:``` #include #include #define Elemetype char typedef struct SNode{ int Data[1000]; i…… 题解列表 2024年03月21日 0 点赞 0 评论 213 浏览 评分:0.0
按照题目要求完成 摘要:解题思路:注意事项:参考代码:#include#include"math.h"using namespace std;uint8_t digitNum(uint32_t num) {//数字长度判断 …… 题解列表 2024年03月21日 0 点赞 0 评论 151 浏览 评分:0.0