编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,f; char s[200]; a=…… 题解列表 2024年07月24日 0 点赞 0 评论 189 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:n=int(input())l=list(map(int,input().split()))l.reverse()print(" ".join(map(str,l)))…… 题解列表 2024年07月25日 0 点赞 0 评论 225 浏览 评分:0.0
【优质解】字符串的大小写转换功能(多函数调用) 摘要:方法一:使用c语言头文件ctype.h库里的tolower函数把字符串大写转换成小写程序结构:自定义三个函数,一个输入字符串,一个处理字符串,一个输出处理之后的字符串,最后再主函数中调用这三个函数参考…… 题解列表 2024年07月25日 0 点赞 0 评论 307 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:n=int(input())li=list(map(int,input().split()))shul=[0]*4for l in li: if 0<=l<=18:…… 题解列表 2024年07月25日 0 点赞 0 评论 340 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:chuan=input()j=0for fu in chuan: if fu.isdigit(): j+=1print(j)…… 题解列表 2024年07月25日 0 点赞 0 评论 580 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:利用字典,统计每个字母出现的次数注意事项:参考代码:word=input()dic={}for le in word: if le in dic: dic[le]+=1 …… 题解列表 2024年07月25日 1 点赞 0 评论 517 浏览 评分:0.0
6行:万花丛中过,片叶不沾身 摘要:解题思路:注意事项:参考代码:word=input()result=""for i in range(len(word)-1): result += chr(ord(word[i])+ord(w…… 题解列表 2024年07月25日 0 点赞 0 评论 517 浏览 评分:0.0
利用数组的方法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include<vector>int main() { int m = 0; cin >> …… 题解列表 2024年07月25日 0 点赞 0 评论 170 浏览 评分:0.0
使用按位与运算求解委派任务 摘要:方法1:使用按位与运算假设0表示不去,1表示去,很显然这是一个二进制数,因此可以使用按位与运算求解,如果二进制数#include int main() { int a, b, c, d, …… 题解列表 2024年07月25日 2 点赞 0 评论 152 浏览 评分:0.0
编写题解 2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:```cpp #include using namespace std; int max(int a,int b,int c){ couta>>b>>c; max(a,b,c); r…… 题解列表 2024年07月25日 0 点赞 0 评论 110 浏览 评分:0.0