2805: 乘方计算 摘要:解题思路:注意事项:因为是乘,所以“sum=1”,不是“sum=0”参考代码:#include <bits/stdc++.h>using namespace std;int main(){ in…… 题解列表 2024年06月30日 0 点赞 0 评论 161 浏览 评分:0.0
题目 1045: [编程入门]自定义函数之整数处理 摘要:解题思路:搞三个功能自定义函数嘛注意事项:参考代码:#include<stdio.h>void qwe1(int a1[],int size);void qwe2(int a2[],int size)…… 题解列表 2024年07月01日 0 点赞 0 评论 241 浏览 评分:0.0
题解 1108: 守望者的逃离 摘要:解题思路:#include <stdio.h> int main(int argc, char** argv) { int M,S,T,su=0,t,m,time; scanf("%d%d…… 题解列表 2024年07月02日 0 点赞 0 评论 220 浏览 评分:0.0
运用字符串求解 摘要:解题思路: 用字符串的特点, 使输入的数字转化为字符串存储, 再用length函数限制输入位数, 最后用字符串下标输出注意事项: 参考代码:#include<iostream> usin…… 题解列表 2024年07月04日 2 点赞 0 评论 291 浏览 评分:0.0
1101: 循环 高精度 摘要:解题思路:规律:当后K为数字存在循环结的必要条件是,后K-1位数字存在循环结,并且K的最小循环结必定是K-1的最小循环结的整数倍。并且对于当前位数的处理不必要取模,既然已经用了数组高精度保存便可以只考…… 题解列表 2024年07月04日 1 点赞 0 评论 513 浏览 评分:0.0
题解 2764: 带余除法 摘要:##########################################a,b=map(int,input().split(" "))print(int(a/b),end=' &#…… 题解列表 2024年07月04日 1 点赞 0 评论 415 浏览 评分:0.0
减肥减肥减肥减肥 摘要:解题思路:无注意事项:无参考代码:n=input()n=int(n)u=list(map(int,input().split()))j=0for i in u: j=i+je=j/ne=int(…… 题解列表 2024年07月05日 0 点赞 0 评论 217 浏览 评分:0.0
2814: 正常血压 摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]*nb=[0]*nt=[0]*nfor i in range(n): a[i],b[i]=map(int,input().sp…… 题解列表 2024年07月06日 0 点赞 0 评论 191 浏览 评分:0.0
2815: 求特殊自然数 摘要:解题思路:注意事项:参考代码:for a in range(1,7): for b in range(0,7): for c in range(1,7): i…… 题解列表 2024年07月06日 0 点赞 0 评论 164 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]*na=list(map(str,input().split()))t=0def judgetrue(x): if int(i…… 题解列表 2024年07月06日 0 点赞 0 评论 142 浏览 评分:0.0