1031: [编程入门]自定义函数之字符串反转(python) 摘要:#### 1031: [编程入门]自定义函数之字符串反转 ~~~python def main(): s = input() s = list(s) s.reve…… 题解列表 2024年10月24日 0 点赞 0 评论 365 浏览 评分:9.9
1032: [编程入门]自定义函数之字符串连接(python) 摘要:#### 无需多言 ~~~python def main(): print(input() + input()) if __name__ == '__main__': …… 题解列表 2024年10月24日 0 点赞 0 评论 370 浏览 评分:9.9
编写题解 1034: [编程入门]自定义函数之数字分离(python) 摘要:[题目1034:[编程入门]自定义函数之数字分离](https://www.dotcpp.com/oj/problem1034.html?sid=18058228&lang=6#editor) …… 题解列表 2024年10月24日 1 点赞 0 评论 423 浏览 评分:9.9
编写题解 1045: [编程入门]自定义函数之整数处理(python) 摘要:[题目1045:[编程入门]自定义函数之整数处理](https://www.dotcpp.com/oj/problem1045.html?sid=18059704&lang=6#editor) …… 题解列表 2024年10月24日 0 点赞 0 评论 337 浏览 评分:9.9
1046: [编程入门]自定义函数之数字后移(python) 摘要:把末尾的插入`a[0]`,再把末尾的删除 ~~~python n = int(input()) a = list(map(int,input().split())) m = int(inp…… 题解列表 2024年10月24日 1 点赞 0 评论 437 浏览 评分:9.9
1137: C语言训练-求函数值(python) 摘要:Python的默认最大递归深度(通常为1000)。当输入的x值较大时,函数f(x)会进行大量的递归调用,导致递归深度超过限制。 **解决方法** - 增加递归深度限制:可以通过sys.setr…… 题解列表 2024年10月24日 0 点赞 0 评论 332 浏览 评分:9.9
for循环,数组的运用。 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m; cin>>m; int Sn=0; int a[100]…… 题解列表 2024年10月24日 1 点赞 0 评论 334 浏览 评分:9.9
模拟 #2911: 连续出现的字符 摘要:``` #include #include #include #include using namespace std; int main() { char str[1010]…… 题解列表 2024年10月25日 0 点赞 0 评论 245 浏览 评分:9.9
题解有点复杂(实际就是我太菜了),还是看看我这个小佝偻的吧 摘要: #include #include using namespace std; typedef pair PII; const int N=101; …… 题解列表 2024年10月25日 0 点赞 4 评论 562 浏览 评分:9.9
Python "结构体"的多参数排序 摘要: from functools import cmp_to_key def cmp(a,b): if a[3] 5: for j in range(…… 题解列表 2024年10月25日 0 点赞 0 评论 301 浏览 评分:9.9