字符逆序 (C语言代码) 摘要:解题思路:可以借用一中间变量temp实现同一数组内就地倒置。注意事项:参考代码:#include <stdio.h>#include<string.h>int main(){ char str[100…… 题解列表 2019年05月25日 3 点赞 0 评论 509 浏览 评分:0.0
蓝桥杯算法提高VIP-高精度乘法 (C++代码)代码就丢在这里了 摘要:解题思路: 输入1---->用字符串in1存储---->逆序转换成为数组a----->同理输入2,最后相乘用一个ans存下来,逆序输出即可参考代码:#include<bits/stdc++.h>…… 题解列表 2019年05月24日 0 点赞 0 评论 918 浏览 评分:0.0
[编程入门]数字逆序输出 (C语言代码) 摘要:解题思路:我不管什么思路。反正就是水经验就对了。源码自己看。不懂留言!注意事项:没什么好注意的。来一个一维数组就是暴力输入+输出就对了参考代码:#include<stdio.h> int mai…… 题解列表 2019年05月24日 1 点赞 0 评论 1056 浏览 评分:6.0
[编程入门]筛选N以内的素数 (C语言代码) 摘要:解题思路:没什么思路就是水经验来着,反正优质题解这辈子都不可能的注意事项:从2开始到这个的根号停止,只要这其中没有能被整数的数就是素数了!参考代码:#include<stdio.h> int mai…… 题解列表 2019年05月24日 1 点赞 0 评论 814 浏览 评分:7.3
[编程入门]猴子吃桃的问题 (C语言代码) 摘要:解题思路:没什么亮点。就是水点经验。哈哈~~~~注意事项:逆推就好1 &n 题解列表 2019年05月24日 1 点赞 0 评论 1017 浏览 评分:0.0
简单编码 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; while(scanf("%s",a)!=EOF) { if(a[0]=='…… 题解列表 2019年05月24日 1 点赞 0 评论 1618 浏览 评分:7.0
A+B for Input-Output Practice (IV) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[100],k,i=0,j=0,sum[100]; scanf("%d",&n); while(…… 题解列表 2019年05月24日 0 点赞 0 评论 470 浏览 评分:0.0
A+B for Input-Output Practice (II) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int k,i[100],j[100],n; scanf("%d",&n); for(k=0;k<n;k++) …… 题解列表 2019年05月24日 0 点赞 0 评论 822 浏览 评分:0.0
A+B for Input-Output Practice (I) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j,n; while(scanf("%d%d",&i,&j)==2)…… 题解列表 2019年05月24日 0 点赞 0 评论 511 浏览 评分:0.0
用筛法求之N内的素数。 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,j,n; scanf("%d",&n); for(i=2;i<…… 题解列表 2019年05月24日 0 点赞 0 评论 840 浏览 评分:0.0