Py2815-求特殊自然数--步骤清晰 摘要:参考代码:fornuminrange(49,343):temp=num&…… 题解列表 2025年11月08日 0 点赞 0 评论 29 浏览 评分:0.0
似乎最简单的办法就是sort函数 摘要:n,m=map(int,input().strip().split()) #报名人数,计划录取数mylist=[]for i in range(n): k,s=m…… 题解列表 2025年11月09日 0 点赞 0 评论 55 浏览 评分:0.0
1915c语言简单解法 摘要:解题思路:先求最大值和最小值,再求中间值注意事项:参考代码: #include<stdio.h> int main(){&n…… 题解列表 2025年11月09日 0 点赞 0 评论 57 浏览 评分:0.0
简单易懂解法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { int i; &…… 题解列表 2025年11月09日 0 点赞 0 评论 61 浏览 评分:0.0
编写函数解决问题 摘要:解题思路:注意事项:注意整数溢出,可以使用long long int,不要使用pow参考代码:#include<stdio.h>int f(int n){ int i=0; if(n==0…… 题解列表 2025年11月09日 0 点赞 0 评论 86 浏览 评分:0.0
最后要减一个2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int f(int a){ int sum=0,i=1; while(sum&l…… 题解列表 2025年11月09日 0 点赞 0 评论 86 浏览 评分:0.0
1164的基础解法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int max(int a[],int n){ int i=0; int x=a[…… 题解列表 2025年11月09日 0 点赞 0 评论 93 浏览 评分:0.0
如何利用二维数组 摘要:#include<stdio.h>int main(){ int a[3][3],x,y; for(x=0;x<3;x++)&nb…… 题解列表 2025年11月09日 0 点赞 0 评论 129 浏览 评分:0.0
多组数据测试选择排序的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int N,h; while(~scanf("%d",&N)) { …… 题解列表 2025年11月09日 0 点赞 0 评论 61 浏览 评分:0.0