1012: [编程入门]字符串分类统计 摘要:```cpp #include #include #include using namespace std; /* 题目描述 编写一函数,由实参传来一个字符串,统计此字符串中字母、数…… 题解列表 2023年02月23日 0 点赞 1 评论 729 浏览 评分:9.9
C语言 破解简单密码 算法简单 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>void fun(char s[]){ int i; …… 题解列表 2023年02月23日 0 点赞 0 评论 348 浏览 评分:0.0
排列序数(c++)超短 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>#include<cstring>using namespace std;int main(){…… 题解列表 2023年02月23日 0 点赞 0 评论 379 浏览 评分:9.9
嗨嗨!我又来了昂!!!! 摘要:```cpp #include using namespace std; int kunkun(int x){//判断素数 if(x==1) { return 0; } i…… 题解列表 2023年02月23日 0 点赞 0 评论 707 浏览 评分:9.9
缩位求和C++非递归写法 摘要:解题思路:思路很简单,难点就是要读懂题和清楚字符串与数字相互转换的语法。1 接收字符串S。2 建立循环,循环内容是: 1 将字符串的每一个值都转换为数字并相加得到sum。2 sum转换为新的字符串S。…… 题解列表 2023年02月23日 0 点赞 0 评论 381 浏览 评分:9.9
1014: [编程入门]阶乘求和(超级简单) 摘要: import java.util.*; public class Main { public static void main(String[] args) { Scanner sc …… 题解列表 2023年02月23日 0 点赞 0 评论 374 浏览 评分:9.9
1431: 蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cmath> #include <algorithm> using namespace std; #d…… 题解列表 2023年02月23日 0 点赞 0 评论 310 浏览 评分:6.0
1011: [编程入门]最大公约数与最小公倍数(公式法(超级简单)) 摘要: import java.util.*; public class Main { public static void main(String[] args) { Scanner sc …… 题解列表 2023年02月23日 0 点赞 0 评论 438 浏览 评分:7.3
2819: 数字反转 摘要:解题思路:注意事项:参考代码:a = input() a = a[::-1] # 字符串逆序 if a[len(a)-1] == '-': # 如果输入负数 a = …… 题解列表 2023年02月23日 0 点赞 0 评论 597 浏览 评分:9.9
简单易懂!!! 摘要:解题思路:注意事项:scanf("%d\n",&n);只有这样写是对的,如果写成scanf("%d",&n);getchar();//用getchar读取换行符是错的,不知道为什么,希望有大神指导参考…… 题解列表 2023年02月22日 0 点赞 0 评论 378 浏览 评分:0.0