求最大值——python 摘要:解题思路:注意事项:参考代码:while True: try: L = list(map(int,input().split())) print(f"max={max…… 题解列表 2023年04月05日 0 点赞 0 评论 151 浏览 评分:0.0
后缀子串排序——python 摘要:解题思路:注意事项:参考代码:while True: try: L = input() L2 = [] for i in range(len(L)): …… 题解列表 2023年04月05日 0 点赞 0 评论 167 浏览 评分:0.0
字符串连接——python 摘要:解题思路:注意事项:参考代码:while True: try: a,b = map(str,input().split()) print(a+b) except…… 题解列表 2023年04月05日 0 点赞 0 评论 165 浏览 评分:0.0
谁是你的潜在朋友 摘要:解题思路:注意事项:参考代码:while True: try: n,m = map(int,input().split()) L = [int(input()) fo…… 题解列表 2023年04月05日 0 点赞 0 评论 138 浏览 评分:0.0
与2无关的数——python 摘要:解题思路:注意事项:参考代码:def bxg(n): if '2' in str(n) or n%2 == 0: return 0 else: …… 题解列表 2023年04月05日 0 点赞 0 评论 164 浏览 评分:0.0
区间中最大的数 摘要:解题思路:注意事项:参考代码:n = int(input())L = list(map(int,input().split()))m = int(input())for i in range(m): …… 题解列表 2023年04月05日 0 点赞 0 评论 256 浏览 评分:0.0
一眼顶真,纯纯的nt题,注意加空行就行了 摘要:解题思路:纯纯的nt题,注意加空行就行了注意事项:参考代码:#include<iostream> using namespace std; int main(){ int a,n; c…… 题解列表 2023年04月05日 0 点赞 0 评论 167 浏览 评分:0.0
蓝桥杯2015年第六届真题-饮料换购 摘要:解题思路:注意事项:参考代码:n = int(input())s = nwhile n>=3: a = n//3 s+=a n = a+n-3*aprint(s)…… 题解列表 2023年04月05日 0 点赞 0 评论 148 浏览 评分:0.0
事实证明,C语言代码要有数学的基本功(流泪) 摘要:解题思路:既然是定理,我们用数学问题证明这个定理是对的就行,然后带入数据C语言结构框架注意事项:先判断首项是否具有普遍性参考代码:#include<stdio.h>int main(){ int…… 题解列表 2023年04月05日 0 点赞 0 评论 151 浏览 评分:0.0
还是喜欢简短的代码,哎哟看到长代码就心浮气躁这可肿么办哟 摘要:解题思路:就是一冒泡排序,多写的我的数据结构老师哈哈哈注意事项:参考代码:#include<stdio.h> int main(){ int a[4]; int temp; for…… 题解列表 2023年04月05日 0 点赞 0 评论 161 浏览 评分:0.0