盐水的故事 (C语言代码) 摘要:解题思路:每一滴水滴落下都算一秒每次一串水滴落完 间隔一秒注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ int n,m; sca…… 题解列表 2019年04月24日 0 点赞 0 评论 554 浏览 评分:0.0
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,s=0,j,k; scanf("%d %d",&n,&j); k=n; for(i=0;i<j;…… 题解列表 2019年04月24日 0 点赞 0 评论 677 浏览 评分:0.0
【求[X,Y]内被除3余1并且被除5余3的整数的和】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,s=0,k,i; scanf("%d %d",&m,&n); for(i=m;i<=n;i++)…… 题解列表 2019年04月24日 0 点赞 0 评论 435 浏览 评分:0.0
数据结构-链表的基本操作 (C++代码) 摘要:解题思路:一点一点测试,一点一点来注意事项:慢慢把思路理清就行参考代码:#include <iostream> #include <algorithm> #include <string> #i…… 题解列表 2019年04月24日 0 点赞 0 评论 611 浏览 评分:0.0
破解简单密码 (C语言代码) 摘要:解题思路:每日一水注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[150]; while(gets(a)){ ch…… 题解列表 2019年04月24日 0 点赞 0 评论 718 浏览 评分:0.0
矩阵转置 (C语言代码) 摘要:解题思路:矩阵转置 行优先 变列优先注意事项:参考代码:#include <stdio.h>#include <string.h>int a[1000][1000];int main(){ int n…… 题解列表 2019年04月24日 0 点赞 0 评论 444 浏览 评分: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 评论 619 浏览 评分: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 评论 912 浏览 评分: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 评论 638 浏览 评分: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 评论 533 浏览 评分:0.0