输出第n名的排序程序 摘要:```c #include int main() { int sum, rank, r[100] = { 0 }, num[100];//r[]数组存放排名,num[]数组存放学号 fl…… 题解列表 2023年01月20日 0 点赞 1 评论 552 浏览 评分:9.0
利用scanf的特性 摘要:解题思路:注意事项:注意最后一个单词有 . 号参考代码:#include<stdio.h>#include<string.h>int main(){ char str[1000][500]; int …… 题解列表 2023年01月23日 0 点赞 0 评论 573 浏览 评分:9.0
python两行代码通过 摘要:##### 关于找到规律之后python两行代码通过这件事 ```python n,s=map(int,input().split()) print ((int(s)+int(2**(n+1)-…… 题解列表 2023年02月01日 0 点赞 0 评论 519 浏览 评分:9.0
<循环>求平均年龄(C语言) 摘要:#include<stdio.h> int main() { int n, age=0,sum=0; double average; scanf("%d", &n); for (i…… 题解列表 2023年02月10日 0 点赞 0 评论 887 浏览 评分:9.0
判决素数个数(C语言) 摘要:#include<stdio.h> int main() { int X, Y,x=1,count=0,k; scanf("%d%d", &X, &Y); for (int j = X…… 题解列表 2023年02月12日 0 点赞 0 评论 816 浏览 评分:9.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:while True: n=int(input()) l=[1,2,3] if n==0: break else: f…… 题解列表 2023年02月15日 0 点赞 0 评论 555 浏览 评分:9.0
用高精度除于低精度,求余数是否为0 摘要:解题思路:高精度除低精度 ,要运用小学教的除法运算思路,用flag标记是否有因子输出,如无,则输出none注意事项:参考代码:#include<stdio.h> #include<string.h>i…… 题解列表 2023年02月17日 0 点赞 1 评论 560 浏览 评分:9.0
就是通过分支选择来写 摘要:解题思路:注意事项:“整数”还有一个长边和短边的顺序好像也要调整一下参考代码:def inchjudge1(n): lside=1189 #初始设置边长 rside=841 …… 题解列表 2023年02月20日 0 点赞 0 评论 547 浏览 评分:9.0
2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:a = input() for i in a[::-1]: print(i,end=' ')代码2:a = input() a = a[::…… 题解列表 2023年02月22日 0 点赞 0 评论 615 浏览 评分:9.0
1283: [NOIP2001]装箱问题 摘要:```cpp #include #include using namespace std; int a[30]; int find(int x,int c) { if(c=0) …… 题解列表 2023年02月24日 0 点赞 0 评论 478 浏览 评分:9.0