字符串的输入输出处理 摘要:解题思路:while (gets(str) != NULL)用来进行判断是否输入结束注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){…… 题解列表 2021年10月14日 0 点赞 0 评论 350 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<b&&a<c) if…… 题解列表 2021年10月14日 0 点赞 0 评论 307 浏览 评分:0.0
1040: [编程入门]实数的打印 标题-题解(python) 摘要:解题思路:注意事项:参考代码:a = float(input())print('{:6.2f}'.format(a))print('{:6.2f} {:6.2f}'.f…… 题解列表 2021年10月14日 0 点赞 0 评论 387 浏览 评分:0.0
题目 1465: 蓝桥杯基础练习VIP-回形取数(C++循环解决) 摘要: #include using namespace std; #define IOS ios::sync_with_stdio(false); const int inf = 0x3f…… 题解列表 2021年10月14日 0 点赞 0 评论 431 浏览 评分:9.9
1044: [编程入门]三个字符串的排序-题解(python代码) 摘要:解题思路:注意事项:参考代码:l = []for i in range(3): l.append(input())l.sort()for i in l: print(i)…… 题解列表 2021年10月14日 0 点赞 0 评论 390 浏览 评分:0.0
编写题解 1033: [编程入门]自定义函数之字符提取 摘要:解题思路:先把字符串输入数组,然后使用指针将其拆分到另一数组,然后使用循环将元音字母找出存入一个空数组。注意事项:注意多余空格参考代码:#include<stdio.h>int main(){ …… 题解列表 2021年10月14日 0 点赞 1 评论 505 浏览 评分:6.0
巧妙利用字符串乘法(python代码) 摘要:解题思路:不必先从数字类型的角度考虑,获取aaaaa利用字符串乘法获取,再将类型转换参考代码:a = eval(input()) s = 0 for i in range(a): s+=…… 题解列表 2021年10月14日 0 点赞 0 评论 382 浏览 评分:7.3
[编程入门]最大公约数与最小公倍数--小白的题解(C语言代码) 摘要:解题思路:纯小白,入坑几个星期(有错误请谅解) 一个非常简单容易理解的方法.先接受两个数(当然是废话)然后判断接受的两个数大小关系为什么要判断?因为最大公约数小于大的那个数以此来限制接下来for循环的…… 题解列表 2021年10月14日 0 点赞 0 评论 429 浏览 评分:9.9
堆栈的使用sgdfhjas 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "stdlib.h"#define MaxSize 100typedef int ElemType;typedef …… 题解列表 2021年10月15日 0 点赞 0 评论 323 浏览 评分:0.0
编写题解 2629: 数学题(快速幂解法) 摘要:typedef long long ll; #include <iostream> using namespace std; ll fast_pwoer(ll base,ll index,ll …… 题解列表 2021年10月15日 0 点赞 0 评论 781 浏览 评分:9.9