编写题解 1034: [编程入门]自定义函数之数字分离(python) 摘要:[题目1034:[编程入门]自定义函数之数字分离](https://www.dotcpp.com/oj/problem1034.html?sid=18058228&lang=6#editor) …… 题解列表 2024年10月24日 1 点赞 0 评论 311 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取(python) 摘要:#### 1033: [编程入门]自定义函数之字符提取 可以采用关键字`in`来查询指定字符是否存在于指定字符串中,如果字符串中存在指定字符则返回True,如果不存在则返回False。 …… 题解列表 2024年10月24日 0 点赞 0 评论 205 浏览 评分:0.0
逆天解法,包得吃的。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d=0; char ch; while(~scanf("%d",&a)) { ch=(ge…… 题解列表 2024年10月24日 1 点赞 0 评论 544 浏览 评分:9.9
1032: [编程入门]自定义函数之字符串连接(python) 摘要:#### 无需多言 ~~~python def main(): print(input() + input()) if __name__ == '__main__': …… 题解列表 2024年10月24日 0 点赞 0 评论 231 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转(python) 摘要:#### 1031: [编程入门]自定义函数之字符串反转 ~~~python def main(): s = input() s = list(s) s.reve…… 题解列表 2024年10月24日 0 点赞 0 评论 248 浏览 评分:9.9
c++cout函数实现 摘要:解题思路:使用cout结合操纵符oct(八进制输出)和showbase(显示进制前缀)输出八进制形式的数字,接着使用hex(十六进制输出)和showbase输出十六进制形式的数字,中间用空格分隔。注意…… 题解列表 2024年10月23日 2 点赞 0 评论 568 浏览 评分:9.9
逆天解法,包得吃的。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; while(~scanf("%d",&n)) { int b,a=0,c=0; if(n…… 题解列表 2024年10月23日 0 点赞 0 评论 215 浏览 评分:9.9
1029: [编程入门]自定义函数处理素数(python) 摘要:#### 1029: [编程入门]自定义函数处理素数(python) ~~~python def is_prime(n): for i in range(2, int(n**0.5)…… 题解列表 2024年10月23日 0 点赞 1 评论 251 浏览 评分:9.9
1463: 蓝桥杯基础练习VIP-Sine之舞(python) 摘要:# 1463: 蓝桥杯基础练习VIP-Sine之舞 #### 没什么好说的,递归输出An,Sn,再把An嵌入Sn **代码如下:** ~~~python N = int(input…… 题解列表 2024年10月23日 0 点赞 0 评论 269 浏览 评分:9.9
金明的预算方案(DP) 摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;constintN…… 题解列表 2024年10月23日 0 点赞 0 评论 153 浏览 评分:0.0