LJX............................................................... 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int n,a,b,sum=0,ans=0; cin>>…… 题解列表 2023年12月06日 0 点赞 0 评论 439 浏览 评分:4.7
炒鸡笨办法 摘要:解题思路:直接利用二维数组小白笨办法注意事项:没啥注意的,小白都会滴参考代码:#include <stdio.h>void input(int(*a)[100],int m,int n){ fo…… 题解列表 2023年12月06日 0 点赞 0 评论 600 浏览 评分:9.9
整数平均值(报错) 解题思路:注意事项在这个代码运行时,报错errorldreturned1exitstatus这个问题其实我代码本身没有问题,是因为我上一个代码运行结果未关闭造成的报错。errorldreturned1exitstatus报错的原因有以下几种:1、程序没有主函数2、printf/scanf书写错误3、主 题解列表 2023年12月06日 0 点赞 0 评论 446 浏览 评分:0.0
不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[101];int main(){ int n,t=-1e9;//t ÓÃ…… 题解列表 2023年12月05日 0 点赞 0 评论 499 浏览 评分:0.0
极其简单,走过路过别错过 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,cnm=-2;\\方便后面的输出 scanf("%d",&n); int a[100000],b…… 题解列表 2023年12月05日 1 点赞 0 评论 522 浏览 评分:10.0
1034: [编程入门]自定义函数之数字分离 摘要:解题思路:1.只是喊每个数字后空一格,所以........注意事项:格式不能写错参考代码:#include<stdio.h>int main(){ char a[100]; int i; …… 题解列表 2023年12月05日 0 点赞 0 评论 367 浏览 评分:0.0
二级C语言-等差数列 摘要:解题思路:利用高中学过的等差数列前n项和的公式:n*a+n*(n-1)*d/2即可解。其中a为第一项,d为公差,在这里a=2,d=3.注意事项:参考代码:#include<stdio.h> int m…… 题解列表 2023年12月05日 0 点赞 0 评论 477 浏览 评分:0.0
简单易懂,求圆的面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){double a,d;cin >> a;d=a*a*3.141…… 题解列表 2023年12月05日 0 点赞 0 评论 990 浏览 评分:0.0
1952: 求长方形面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,s,d,f;cin >> s;cin >> a;d…… 题解列表 2023年12月05日 0 点赞 0 评论 498 浏览 评分:0.0
1012字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){char c;int letters=0,space=0,dight=0,other=0;while((c=ge…… 题解列表 2023年12月05日 0 点赞 0 评论 486 浏览 评分:0.0