[编程入门]第一个HelloWorld程序! (C语言代码) 摘要:解题思路:复制粘贴注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[5];int used[5];int print[4];voi…… 题解列表 2019年04月20日 0 点赞 0 评论 1392 浏览 评分:2.0
[竞赛入门]简单的a+b (C语言代码) 摘要:解题思路:直接法注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[5];int used[5];int print[4];void…… 题解列表 2019年04月20日 0 点赞 0 评论 966 浏览 评分:0.0
C语言考试练习题_保留字母 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <bits/stdc++.h>using namespace std;int main(int argc, cha…… 题解列表 2019年04月20日 0 点赞 0 评论 1337 浏览 评分:0.0
[编程入门]Sn的公式求和 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long int i,sum=0,sn=0; int n; scanf("%d",&n); for(i=0; …… 题解列表 2019年04月20日 0 点赞 0 评论 794 浏览 评分:6.0
C语言训练-计算一个整数N的阶乘 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,s=1; scanf("%d",&n); if(n<=12) { for(i=1;i<=n;i…… 题解列表 2019年04月20日 0 点赞 0 评论 806 浏览 评分:0.0
C语言训练-求1+2!+3!+...+N!的和 (C语言代码) 摘要:解题思路:注意事项:要考虑 int 的使用范围 达到16后int 就保存不料了参考代码:#include<stdio.h>int main(){ int i,n; long long t=0,s=1;…… 题解列表 2019年04月20日 0 点赞 0 评论 771 浏览 评分:6.0
偶数列举 (C语言代码)(题目描述有问题) 摘要:解题思路:这题题目描述有问题。注意事项:最后一个输出不要换行不然会错参考代码:#include<stdio.h>int main(){ int x,y,z; scanf("…… 题解列表 2019年04月20日 1 点赞 0 评论 639 浏览 评分:0.0
[编程入门]二维数组的转置 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a[3][3]; for(i=0;i<3;i++) for(j=0;j<3;j++) sc…… 题解列表 2019年04月20日 0 点赞 0 评论 673 浏览 评分:0.0
计算输入数据的和与乘积 (C语言代码) 摘要:解题思路:题目说整型数据,但是字符型数据也可以通过,输入字符型数字,然后转化为整型数据,再进行累加、累乘即可。注意事项:参考代码:#include<stdio.h>#include<string.h>…… 题解列表 2019年04月20日 4 点赞 1 评论 1163 浏览 评分:2.0
优质题解 剔除相关数 (C++代码) 摘要:解题思路: 简要思路:概括 1,先写一个判断两个数是否为相关数的函数,这个简单,就是定义两个数组并赋初值为0,然后把传入函数的数字的每一位数字进行判断,等于n就给数组a[n]…… 题解列表 2019年04月20日 0 点赞 0 评论 1268 浏览 评分:0.0