题解列表
1986: 鸡兔同笼
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int main() {
int total;
scanf("%d",&total);
if(total>=20&&t……
2006: 寻找奇整数
摘要:解题思路:注意事项:符合其中一个条件就break参考代码:#include <stdio.h>
#define LEN 15
int main() {
int exist=1,num,arr[……
2003: 统计字符个数
摘要:解题思路:注意事项:题目交代一串字符,逐个输入,别用gets()参考代码:#include <stdio.h>
int main() {
char str[11]={'\0'};……
1980: 求阶梯水费。三目真好用
摘要:解题思路:注意事项:参考代码:#include <stdio.h>
int main(){
int num,total=0;
scanf("%d",&num);
total+=num*2……
编写题解 1119: C语言训练-"水仙花数"问题1
摘要:参考代码:#include<math.h>int a,len,b=0,num[3]; scanf("%d%n",&a,&len); if(len==3){ num[0……
自定义函数之整数处理
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<algorithm>using namespace std;void Input(v……
蓝桥杯算法训练VIP-阶乘 --(java代码)
摘要:import java.math.BigInteger;
import java.util.Scanner;
import javax.naming.BinaryRefAddr;
p……
蓝桥杯算法提高VIP-和最大子序列 - 动态规划dp
摘要:参考代码:#include<iostream>
using namespace std;
int Max(int a, int b) {
return a > b ? a : b;
}
……
蓝桥杯算法提高VIP-五次方数
摘要:# MarkDown编辑器基本使用说明
for (int i = 4150; i ……