C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d\n%d\n%d\n%d\n",&a,&b,&c,&t…… 题解列表 2018年08月09日 0 点赞 0 评论 747 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C++代码) 摘要:解题思路: 1、n用数组将成员从1到n进行保存,记录成员。 2、定义一个j(j一直在1-3往复),用一个while+一个for(里面定义 i)循环,满足条件的数组 …… 题解列表 2018年08月09日 1 点赞 0 评论 1078 浏览 评分:6.0
简单粗暴可AC 摘要:解题思路:直接暴力注意事项:注意输出-1参考代码:#include<stdio.h>int main(){ int a[10005][4]; int n,x,y,m,u; scanf("%d",&u)…… 题解列表 2018年08月09日 1 点赞 0 评论 894 浏览 评分:4.0
矩阵最大值 (C++代码)可AC 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main(){ int m,n; while(cin>>n…… 题解列表 2018年08月09日 3 点赞 0 评论 2051 浏览 评分:6.4
C语言训练-谁家孩子跑最慢* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include <math.h> …… 题解列表 2018年08月09日 0 点赞 0 评论 1549 浏览 评分:0.0
矩阵最大值 (C++代码)(可AC) 摘要:#include <iostream> #include <stdio.h> #include <string> #include <cstring> using namespace std;…… 题解列表 2018年08月09日 1 点赞 0 评论 1314 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:本题目利用if()语句注意事项:注意a的取值范围书写,例如a>0&&a<=9,不要写成0<a<=9;参考代码:#include <stdio.h>main(){ int a,d,c,w,q,…… 题解列表 2018年08月09日 0 点赞 0 评论 827 浏览 评分:0.0
字符串链接 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <string> using namespace std; int main(){ string s,…… 题解列表 2018年08月09日 2 点赞 0 评论 1359 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int t,a,b,c; scanf("%d",&t); c=t%60; b=t/60…… 题解列表 2018年08月09日 0 点赞 0 评论 969 浏览 评分:0.0
蓝桥杯2013年第四届真题-打印十字图 (C语言代码) 摘要:解题思路: 我的思路就是一步一步的分析,首先我想到的就是分配一块内存来储存图案,通过观察知道图案是一个方正,于是想到用字符矩阵。然后分布完成,首先就是把方块字符中每个元素变成字符'.&#…… 题解列表 2018年08月09日 14 点赞 2 评论 1083 浏览 评分:8.0