1对应的方法数为1不是0. 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 100void typle(int m,int n,int a[]){ int i,j,sum; int x=1,y…… 题解列表 2021年11月11日 0 点赞 0 评论 425 浏览 评分:9.9
复制加粘贴,代码远离你。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define N 100void mychar(int n,int m,char ch[]){ …… 题解列表 2021年11月11日 0 点赞 0 评论 355 浏览 评分:0.0
题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int i,j=0,sum=0,a[10];float t; for(i=0;i<10;i++) { …… 题解列表 2021年11月11日 0 点赞 0 评论 378 浏览 评分:0.0
简单易懂的字符逆序 摘要:解题思路:输入的i存入数组后,反向输出数组注意事项:len的取值是重点,字符串最后默认有\0,注意下参考代码:#include <stdio.h>#include <string.h>int main…… 题解列表 2021年11月11日 0 点赞 0 评论 390 浏览 评分:0.0
蓝桥杯基础练习VIP-Sine之舞 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int a=0; int n; int AN(int b){ a++; if(a==b){ printf("sin…… 题解列表 2021年11月11日 0 点赞 0 评论 875 浏览 评分:9.9
利润计算C++程序解答 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double l; cin >> l; if (…… 题解列表 2021年11月11日 0 点赞 0 评论 518 浏览 评分:6.0
1010: [编程入门]利润计算(C语言代码和C++代码都有) 摘要:解题思路: 本题我们可以使用switch来做,这样子做出来更简洁。 不过在这之前,我们要先知道,switch-case结构其实只会判断一次 例如:int a = 0; switch…… 题解列表 2021年11月11日 0 点赞 1 评论 946 浏览 评分:4.7
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a[12]={31,28,31,30,31,30,31,31,30,31,30,31}; …… 题解列表 2021年11月11日 0 点赞 0 评论 405 浏览 评分:0.0
1030: [编程入门]二维数组的转置 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3][3],i,j; for(i=0; i<3; i++) { for(j…… 题解列表 2021年11月11日 0 点赞 0 评论 343 浏览 评分:0.0
题解 1029: [编程入门]自定义函数处理素数时尚再无红颜笑 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int j=0,x;scanf("%d",&x); for(int i=2;i>1&&i<x;i++) {…… 题解列表 2021年11月11日 0 点赞 0 评论 291 浏览 评分:0.0