C语言程序设计教程(第三版)课后习题5.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float x,y; scanf("%f",&x); if(x<1) y=x; else if((x…… 题解列表 2018年03月22日 0 点赞 0 评论 867 浏览 评分:0.0
【简单计算】 (C语言代码) 摘要:解题思路:利用公式a[i] = (a[i-1] + a[i+1])/2 - c[i].推出a[i-1]=2a[i]+2c[i]-a[i+1];将a数组元素全部看成x的一元式Ax+B,那么a[0],a[…… 题解列表 2018年03月22日 0 点赞 0 评论 1428 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d; scanf("%d %d %d",&a,&b,&c); if(a >…… 题解列表 2018年03月22日 0 点赞 0 评论 836 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("He…… 题解列表 2018年03月22日 0 点赞 0 评论 862 浏览 评分:0.0
melon瓜皮~承包1776题题解 摘要:解题思路:原码转化为补码,分两种情况:1.正数不变2.负数原码符号位不变,其余位取反加一难点:取反加一好好观察代码吧,注释挺清楚的,不懂得欢迎评论区留言哦~参考代码:#include <iostrea…… 题解列表 2018年03月22日 1 点赞 1 评论 516 浏览 评分:0.0
教学楼的楼梯 (Java代码) 摘要:解题思路:注意事项:未提交测试,仅一个测试用例参考代码:package test; import java.util.Scanner; /** * @ClassName: A * …… 题解列表 2018年03月22日 0 点赞 0 评论 1227 浏览 评分:0.0
【出圈】 (Java代码) 摘要:解题思路:import java.util.Scanner; public class C1160 { public static void main(String[] args) { …… 题解列表 2018年03月22日 2 点赞 0 评论 1003 浏览 评分:0.0
蓝桥杯历届试题-连号区间数 (C++代码) 摘要:解题思路:数组中无相同元素,max-min=区间长度说明排序后是连续的。注意事项:循环时先左后右,保证max和min的正确性。参考代码:#include<iostream> #include<str…… 题解列表 2018年03月22日 0 点赞 0 评论 1296 浏览 评分:0.0
蓝桥杯算法训练VIP-s01串 (C语言代码) 摘要:#include<iostream> #include<string> using namespace std; int main(){ string str1="0",str2=""; …… 题解列表 2018年03月22日 1 点赞 0 评论 1529 浏览 评分:0.0
蓝桥杯算法训练VIP-提货单 (C语言代码) 摘要:#include<iostream> #include<cstdio> using namespace std; typedef struct{ char name[22]; doubl…… 题解列表 2018年03月22日 1 点赞 0 评论 1356 浏览 评分:0.0