C语言程序设计教程(第三版)课后习题8.8 (C语言代码)任意长度任意字符 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int fun(char a[100]) { char b[100]=""; in…… 题解列表 2019年03月04日 0 点赞 0 评论 499 浏览 评分:0.0
蓝桥杯基础练习VIP-高精度加法 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;char c[200];int main(){ char a…… 题解列表 2019年03月04日 0 点赞 0 评论 787 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.*; public class Main { public static void main(String[] args) { …… 题解列表 2019年03月04日 0 点赞 0 评论 780 浏览 评分:0.0
P1016 (C++代码) 摘要:解题思路:注意事项:参考代码:01背包问题#include<cstdio> #include<algorithm> #define max_num 30 using namespace std…… 题解列表 2019年03月04日 0 点赞 0 评论 503 浏览 评分:0.0
用筛法求之N内的素数。 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { unsigned int N, i = 2, j = 2; cin …… 题解列表 2019年03月04日 0 点赞 0 评论 962 浏览 评分:0.0
蓝桥杯2013年第四届真题-核桃的数量 (C语言代码)(第一次写普及题解懒得写注释) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int a,b,c; int i; printf("I…… 题解列表 2019年03月04日 0 点赞 0 评论 521 浏览 评分:0.0
蓝桥杯算法提高VIP-色盲的民主 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<map>#include<string>using namespace std;int main(){ int n;…… 题解列表 2019年03月04日 0 点赞 0 评论 609 浏览 评分:0.0
蓝桥杯基础练习VIP-FJ的字符串 (C++代码) 摘要:解题思路: 比较容易看的出字符串是对称关系我们可以用一个单独的变量进行存储中间的字符mid在进行N-1次 j = (1 - > len-1)位置上的字符串复制到(len+1-> 2*len-1)…… 题解列表 2019年03月04日 1 点赞 0 评论 672 浏览 评分:0.0
字符逆序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char str[100]; int i; i=st…… 题解列表 2019年03月04日 0 点赞 0 评论 513 浏览 评分:0.0
。。switch。。:判断第几天 (C语言代码) 摘要:#include<stdio.h> int main() { int y,m,d,n; while(scanf("%d/%d/%d",&y,&m,&d)!=EOF) { n=0;…… 题解列表 2019年03月04日 1 点赞 0 评论 696 浏览 评分:0.0