[编程入门]水仙花数判断 摘要:解题思路:思考百位、十位、个位怎么表示注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,s,m=100; while(m<1000) { a=m/1…… 题解列表 2021年12月26日 0 点赞 0 评论 275 浏览 评分:0.0
解最长字符串 摘要:解题思路:注意事项:参考代码:a=input()m=a.split()max=0maxi=0for i in range(0,len(m)): if max<len(m[i]): …… 题解列表 2021年12月26日 0 点赞 0 评论 344 浏览 评分:9.9
不容易系列 摘要:```c #include int hanshu(int k);//函数声明 int hanshu (int k)//函数定义 { int n=0,i;//n 为第K站的绵羊的数量 …… 题解列表 2021年12月26日 0 点赞 0 评论 398 浏览 评分:0.0
1434: 蓝桥杯历届试题-回文数字 摘要:从 10000 直接循环到 999999,先判断各位数字和是不是与所给数相等,不相等直接判断下一个数,如果相等用 equal 函数判断是否是回文数。#include <bits/stdc++.h> …… 题解列表 2021年12月26日 0 点赞 0 评论 354 浏览 评分:0.0
2004: 统计成绩 摘要:#include<bits/stdc++.h> using namespace std; int main(){ double sum(0); int x,fail(0);…… 题解列表 2021年12月26日 0 点赞 0 评论 317 浏览 评分:0.0
1749: 字符排序 摘要:#include<bits/stdc++.h> using namespace std; int main(){ int n; cin >> n; getchar…… 题解列表 2021年12月26日 0 点赞 0 评论 394 浏览 评分:0.0
统计字母个数(Java代码) 摘要:参考代码:import java.util.Scanner; public class 统计字母个数 { public static void main(String[] args) {…… 题解列表 2021年12月26日 0 点赞 0 评论 489 浏览 评分:8.0
2002: 计算数字个数 摘要:#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); …… 题解列表 2021年12月26日 0 点赞 0 评论 319 浏览 评分:0.0
编写题解 1232: 查找最大元素 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<cstring> using namespace std; int ma…… 题解列表 2021年12月26日 0 点赞 0 评论 296 浏览 评分:0.0
C语言简单算法:简单的a+b 摘要:解题思路:寻常加法+一个循环注意事项:需要输出多组数据参考代码:#include<stdio.h>int main(){ int a,b,c; while (scanf("%d%d",&a…… 题解列表 2021年12月26日 0 点赞 0 评论 420 浏览 评分:0.0