编写题解 2796: 求整数的和与均值(python代码100分) 摘要:首先我想对你们说一句,能坚持到这里的人一定很好了以及,请继续加油,别放弃,我希望我未来比赛的时候能看到你们,其次这道题看着很简单,考点也不难,我第一次交也错了,但是后来我想到题给的是4/n 344/n…… 题解列表 2023年12月07日 0 点赞 1 评论 698 浏览 评分:7.6
编写题解 2790: 分段函数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2023年12月07日 0 点赞 0 评论 261 浏览 评分:9.9
乖孩子的直接思路 摘要:解题思路:在//后面就是思路注意事项:参考代码:#include <stdio.h>int main(){int a[5][5];int i,j,t,r,s;for(i=0;i<5;i++)for(j…… 题解列表 2023年12月07日 0 点赞 0 评论 210 浏览 评分:0.0
自定义函数之字符串拷贝 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str1[100],str2[100]; int m, n,i,j; scanf("%d", &n);…… 题解列表 2023年12月06日 0 点赞 0 评论 309 浏览 评分:0.0
]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年12月06日 0 点赞 0 评论 258 浏览 评分:6.0
1074数字整除(无脑四行版) 摘要:提问:直接对17求余可以吗? ```python while True: n = int(input()) if n == 0: break else:print('…… 题解列表 2023年12月06日 0 点赞 0 评论 318 浏览 评分:9.9
c语言数组求差 摘要:解题思路:利用数组求解,通过if判断条件得出max和min注意事项:记得遍历数组参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&…… 题解列表 2023年12月06日 0 点赞 0 评论 272 浏览 评分:9.9
2926: 查找最接近的元素 Python实现,带注释 摘要:解题思路:经过二分查找后,low和high分别会指向比 x 大和比 x 小的元素,计算这两个元素到 x 的距离,返回更小的那个元素值,不清楚的话可以在代码中打印出经过循环后的low和high值。注意事…… 题解列表 2023年12月06日 0 点赞 0 评论 303 浏览 评分:9.9
人口增长问题 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2023年12月06日 0 点赞 0 评论 209 浏览 评分:9.9
括弧匹配检验 摘要:解题思路:注意事项:参考代码:def is_matching(expression): stack = [] mapping = {')': '(', &#…… 题解列表 2023年12月06日 0 点赞 0 评论 349 浏览 评分:0.0