c++偶数求和简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std;int main(){ int n,m; while(cin>>n>>m) { for(i…… 题解列表 2023年10月18日 0 点赞 0 评论 303 浏览 评分:0.0
c++字符串简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std;int main(){ string str; int n; cin>>n; string …… 题解列表 2023年10月18日 0 点赞 0 评论 120 浏览 评分:0.0
求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int arr[n][n]…… 题解列表 2023年10月18日 0 点赞 0 评论 150 浏览 评分:0.0
2867: 单词的长度(C语言) 摘要: #include int main() { char a[1000]; gets(a); char *p1,*p2; p1=a; p2=a; int …… 题解列表 2023年10月18日 0 点赞 0 评论 322 浏览 评分:0.0
先通分,后递归化简,python 摘要:n=int(input())t=[]for x in range(n): t.append(list(map(int,input().split('/'))))m=[]for x…… 题解列表 2023年10月18日 0 点赞 0 评论 169 浏览 评分:0.0
java解法,但是不知道为什么过不了,大佬帮忙看下 摘要:解题思路:注意事项:参考代码:import java.util.*;public class Main { public static void main(String[] args) { Scan…… 题解列表 2023年10月18日 0 点赞 0 评论 123 浏览 评分:0.0
平均值计算 C语言 摘要:注意事项:一定要注意检查上面定义的字符和下面使用的内容是否一样参考代码:#include<stdio.h>int main(){ int a[10]={0}; int i,k=0; …… 题解列表 2023年10月18日 0 点赞 0 评论 183 浏览 评分:0.0
C语言思路简单,易懂!!! 理解万岁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main (){ char a[100]; int next[100]; …… 题解列表 2023年10月18日 0 点赞 0 评论 173 浏览 评分:0.0
报数喵秒妙米奥啊(c语言小白) 摘要:解题思路:给一个数组在里面随便赋非零的值,遍历每个元素,如果这个元素不是零,就报数+1存起来;报的数如果是3的倍数,那就把这个元素标记一下,给他赋为零,以便下次报数的不再为这个元素报数。用循环直到只剩…… 题解列表 2023年10月18日 0 点赞 0 评论 177 浏览 评分:0.0
求10000以内n的阶乘((╹ڡ╹ ),数组大小必须是100000,再大些估计会超时,小了他这次没给报运行错误,让我猜半天,会报答案错误,用指针来输出数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #define MAXSIZE 100000 int main() { int n; scanf("%d",&n); …… 题解列表 2023年10月18日 1 点赞 0 评论 198 浏览 评分:0.0