用数组的方法来解决(c语言)很详细的代码 摘要:解题思路:定义一个浮点型的数组,然后进行循环输入,通过定义的sum进行求和然后除以12即可注意事项:记住有$符号,不要搞忘记了 ps:我就是在这搞忘的这个,还以为我的思路有问题。。。。。参考代…… 题解列表 2023年03月11日 0 点赞 0 评论 506 浏览 评分:0.0
编写题解 3035: LETTERS 摘要:解题思路:注意事项: 这个题目每个map[i][j]遍历顺序不同会影响结果, 不要使用vis[][]来记录是否走过!参考代码:import java.util.ArrayList;im…… 题解列表 2023年03月11日 0 点赞 0 评论 511 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:运用循环队列思想;空间换时间。注意事项:取余时公式参考代码:#include <stdio.h>#include <iostream>using namespace std;int main…… 题解列表 2023年03月11日 0 点赞 0 评论 370 浏览 评分:0.0
神奇的fans 利用集合来进行筛选 摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n): l=list(map(int,input().split())) s=set() l=…… 题解列表 2023年03月11日 0 点赞 0 评论 476 浏览 评分:0.0
成绩评定+switch语句 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int score; scanf("%d",&score); switch(score/10){ …… 题解列表 2023年03月11日 0 点赞 0 评论 421 浏览 评分:0.0
这个提示还不如不给. 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;#define No 0int main(){ int N,i1,i2; int a…… 题解列表 2023年03月11日 0 点赞 0 评论 409 浏览 评分:0.0
【刷题记录】1122-亲密数 摘要:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> #define MAX 3000 int main() { …… 题解列表 2023年03月11日 0 点赞 0 评论 364 浏览 评分:0.0
题目 1124: C语言训练-大、小写问题 摘要:参考代码:#include<stdio.h> #include<string.h> #include<ctype.h> void toLow(char *str){ for(int…… 题解列表 2023年03月12日 0 点赞 0 评论 370 浏览 评分:0.0
gpt 求解高精度乘法 摘要:### 算法思路 本题需要实现高精度乘法。高精度乘法和高精度加法很相似,都是将两个数的每一位相乘得到一个值,然后把这些值加到积中对应的位置上。具体流程如下: 定义数组 a 和 b 分别存储…… 题解列表 2023年03月12日 0 点赞 0 评论 764 浏览 评分:0.0
1025: [编程入门]数组插入处理 摘要:#include<stdio.h> int main() { int a[9]; int i=0; int x; for(;i<=8;i++) {…… 题解列表 2023年03月12日 0 点赞 0 评论 380 浏览 评分:0.0