编写题解 2007: 计算输入数据的和与乘积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){i…… 题解列表 2025年01月12日 1 点赞 0 评论 405 浏览 评分:10.0
编写题解 1015: [编程入门]求和训练python 摘要:参考代码:a,b,c=map(int,input().split())s1=0s2=0s3=0for i in range(1,a+1): s1+=ifor i in ran…… 题解列表 2025年01月12日 0 点赞 0 评论 765 浏览 评分:0.0
while的你会了,来学习一下for吧 解题思路:注意事项:参考代码:#includeintmain(){intn,i,sum;for(;;){scanf("%d",&n);if(n==0){return0;}sum=0;for(i=0;i 题解列表 2025年01月12日 0 点赞 0 评论 499 浏览 评分:0.0 在我上一个题解基础下,加上前面那个scanf就可以了 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,sum,j,p;//注意多定义两个 scanf("…… 题解列表 2025年01月12日 0 点赞 0 评论 520 浏览 评分:0.0 还是for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,sum; for(;;){ if (scanf(&quo…… 题解列表 2025年01月12日 0 点赞 0 评论 502 浏览 评分:0.0 还是大家喜欢的for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n, i, sum,j; scanf…… 题解列表 2025年01月12日 0 点赞 0 评论 451 浏览 评分:0.0 会调用函数就可以 摘要:解题思路:注意事项:注意比较输入两个数的大小参考代码:#include <stdio.h>int c(int n) { int length = 1; // 初始…… 题解列表 2025年01月12日 1 点赞 0 评论 500 浏览 评分:0.0 超级简单易懂 摘要:解题思路:先按照行找到最大值,再按照列比对是否为最小值,匹配成功则输出鞍点注意事项:参考代码:l = []for i in range(5): s = list(map(in…… 题解列表 2025年01月12日 0 点赞 0 评论 665 浏览 评分:10.0 运用‘?’快速判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,max; &n…… 题解列表 2025年01月12日 27 点赞 1 评论 1598 浏览 评分:10.0 模拟报数过程的直接解法 解题思路:注意事项:参考代码:#include#include#includeintmain(){intn,*bs;scanf("%d",&n);bs=(int*)malloc(sizeof(int)*(n+1));//memset(bs, 题解列表 2025年01月12日 1 点赞 0 评论 586 浏览 评分:0.0 « 12...5674567556765677567856795680...59095910 »
在我上一个题解基础下,加上前面那个scanf就可以了 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,sum,j,p;//注意多定义两个 scanf("…… 题解列表 2025年01月12日 0 点赞 0 评论 520 浏览 评分:0.0
还是for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,i,sum; for(;;){ if (scanf(&quo…… 题解列表 2025年01月12日 0 点赞 0 评论 502 浏览 评分:0.0
还是大家喜欢的for循环 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n, i, sum,j; scanf…… 题解列表 2025年01月12日 0 点赞 0 评论 451 浏览 评分:0.0
会调用函数就可以 摘要:解题思路:注意事项:注意比较输入两个数的大小参考代码:#include <stdio.h>int c(int n) { int length = 1; // 初始…… 题解列表 2025年01月12日 1 点赞 0 评论 500 浏览 评分:0.0
超级简单易懂 摘要:解题思路:先按照行找到最大值,再按照列比对是否为最小值,匹配成功则输出鞍点注意事项:参考代码:l = []for i in range(5): s = list(map(in…… 题解列表 2025年01月12日 0 点赞 0 评论 665 浏览 评分:10.0
运用‘?’快速判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,max; &n…… 题解列表 2025年01月12日 27 点赞 1 评论 1598 浏览 评分:10.0
模拟报数过程的直接解法 解题思路:注意事项:参考代码:#include#include#includeintmain(){intn,*bs;scanf("%d",&n);bs=(int*)malloc(sizeof(int)*(n+1));//memset(bs, 题解列表 2025年01月12日 1 点赞 0 评论 586 浏览 评分:0.0