矩阵转置 (C语言代码) 摘要:解题思路:矩阵转置 行优先 变列优先注意事项:参考代码:#include <stdio.h>#include <string.h>int a[1000][1000];int main(){ int n…… 题解列表 2019年04月24日 0 点赞 0 评论 553 浏览 评分:0.0
C语言训练-计算t=1+1/2+1/3+...+1/n (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <bits/stdc++.h>using namespace std;int main(){ double …… 题解列表 2019年04月24日 0 点赞 0 评论 755 浏览 评分:0.0
C语言训练-计算:t=1-1/(2*2)-1/(3*3)-...-1/(m*m) (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <bits/stdc++.h>using namespace std;int main(){ int n; …… 题解列表 2019年04月24日 0 点赞 0 评论 1043 浏览 评分:0.0
[编程入门]数字的处理与判断 (C语言代码) 摘要:解题思路:注意事项:代码的准确度。参考代码:#include<stdio.h>int main(){ long int x; int sum=0,a; int m=0,n=0,v=0,c=0; sca…… 题解列表 2019年04月24日 0 点赞 0 评论 776 浏览 评分:0.0
C语言训练-"水仙花数"问题1 (C语言代码) 刚它 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; scanf("%d",&a); if(a==(a/100)*(a/100)*(…… 题解列表 2019年04月24日 0 点赞 0 评论 660 浏览 评分:0.0
[编程入门]数字的处理与判断 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int x; int sum=0,a; int m=0,n=0,v=0,c=0; scanf("%d"…… 题解列表 2019年04月24日 0 点赞 0 评论 666 浏览 评分:0.0
小九九 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) printf…… 题解列表 2019年04月24日 0 点赞 0 评论 535 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int ispri (int x,int m,int n){ int k,i,sum=0; for(x=m;x<=n;x++…… 题解列表 2019年04月25日 0 点赞 0 评论 1221 浏览 评分:0.0
C二级辅导-同因查找 (C语言代码) 摘要:解题思路:因为此题被要求在数组范围内求解,因此尝试一下(不喜勿喷^^)注意事项:参考代码:#include<stdio.h>int main(){ int i,a[991];/*题目给定的数是10——…… 题解列表 2019年04月25日 0 点赞 0 评论 504 浏览 评分:0.0
C语言训练-8除不尽的数 (C语言代码)之一 摘要:解题思路:注意事项:参考代码:#include<stdio.header>int m (){ int n=1;/*注意0虽为自然数,但不能为判断条件,因为0为假。同时0不是解*/ while(n+…… 题解列表 2019年04月25日 0 点赞 0 评论 898 浏览 评分:0.0