题解列表
1070: 二级C语言-成绩归类 标新立异
摘要:解题思路: 利用C/C++语言中的三目运算符 [condition] ? [true_value] : [false_value],迭代进行大小的判别。注意事项: 注意三目运算符的优先顺序……
题解 1044: [编程入门]三个字符串的排序
摘要:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>//strcmp(char *a,char *b);比较字符串长度,大>1,小<-1……
题解 1009: [编程入门]数字的处理与判断
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { double a; int e; double ……
蓝桥杯基础练习VIP-Sine之舞Java-用递归实现
摘要:实现两个递归函数,funan函数输出An;funsn函数输出Sn。
funsn函数中会调用funan函数。
道理不难,主要是在输出的格式上投入了较多时间。
```java
import j……
编写题解 1011: [编程入门]最大公约数与最小公倍数
摘要:#include
using namespace std;
int main() {
int a,b,m,n,k,h,z;
cin>>a>>b;
if (a>b)
……
C题解*****************************************
摘要:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int n,i,j,c=0,flag,max,maxa; ……