1049: [编程入门]结构体之时间设计(python) 摘要: ~~~python def is_lun(y): if y%100 == 0: if y%400 == 0: return True …… 题解列表 2024年10月24日 1 点赞 0 评论 229 浏览 评分:0.0
1048: [编程入门]自定义函数之字符串拷贝(python) 摘要:1048: [编程入门]自定义函数之字符串拷贝 从索引`m-1`开始切片即可 ~~~pythjon input() s = input() m = int(input()) print…… 题解列表 2024年10月24日 0 点赞 0 评论 255 浏览 评分:0.0
1046: [编程入门]自定义函数之数字后移(python) 摘要:把末尾的插入`a[0]`,再把末尾的删除 ~~~python n = int(input()) a = list(map(int,input().split())) m = int(inp…… 题解列表 2024年10月24日 1 点赞 0 评论 402 浏览 评分:9.9
编写题解 1045: [编程入门]自定义函数之整数处理(python) 摘要:[题目1045:[编程入门]自定义函数之整数处理](https://www.dotcpp.com/oj/problem1045.html?sid=18059704&lang=6#editor) …… 题解列表 2024年10月24日 0 点赞 0 评论 315 浏览 评分:9.9
编写题解 1034: [编程入门]自定义函数之数字分离(python) 摘要:[题目1034:[编程入门]自定义函数之数字分离](https://www.dotcpp.com/oj/problem1034.html?sid=18058228&lang=6#editor) …… 题解列表 2024年10月24日 1 点赞 0 评论 372 浏览 评分:9.9
1033: [编程入门]自定义函数之字符提取(python) 摘要:#### 1033: [编程入门]自定义函数之字符提取 可以采用关键字`in`来查询指定字符是否存在于指定字符串中,如果字符串中存在指定字符则返回True,如果不存在则返回False。 …… 题解列表 2024年10月24日 0 点赞 0 评论 288 浏览 评分: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 评论 667 浏览 评分:9.9
1032: [编程入门]自定义函数之字符串连接(python) 摘要:#### 无需多言 ~~~python def main(): print(input() + input()) if __name__ == '__main__': …… 题解列表 2024年10月24日 0 点赞 0 评论 342 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转(python) 摘要:#### 1031: [编程入门]自定义函数之字符串反转 ~~~python def main(): s = input() s = list(s) s.reve…… 题解列表 2024年10月24日 0 点赞 0 评论 330 浏览 评分:9.9
c++cout函数实现 摘要:解题思路:使用cout结合操纵符oct(八进制输出)和showbase(显示进制前缀)输出八进制形式的数字,接着使用hex(十六进制输出)和showbase输出十六进制形式的数字,中间用空格分隔。注意…… 题解列表 2024年10月23日 2 点赞 0 评论 697 浏览 评分:9.9