1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char a[50],b[50];int i,j;void fun1(char a[]){ j…… 题解列表 2022年01月19日 0 点赞 0 评论 292 浏览 评分:0.0
C语言训练-委派任务* 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int A,B,C,D,E,F;void fun1(){ for(A=0;A<=1;A++) for(B=0;B<=…… 题解列表 2022年01月19日 0 点赞 0 评论 281 浏览 评分:0.0
用筛法求之N内的素数:C语言素数筛 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[1000];int main(){ int n,m,i,j,cnt=0; scanf("%d",&n); for(i=2;i…… 题解列表 2022年01月19日 0 点赞 0 评论 377 浏览 评分:9.9
二级C语言-公约公倍(python代码) 摘要:解题思路:注意事项:有两种输入方式,参考代码:c=list(map(int,input().split()))if(len(c))<2: c.extend(list(map(int,input(…… 题解列表 2022年01月19日 0 点赞 1 评论 843 浏览 评分:9.9
宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define LEAP_YEAR(y) s=y%4,n=y%100,t=y%400int main(){ int y,t,s,n; s…… 题解列表 2022年01月19日 0 点赞 0 评论 308 浏览 评分:0.0
外卖店优先级(详细解答) 摘要:|1|1| | ------------ | ------------ | |2|1| |3|1| |5|2| |6|2| |6|2| 将示例按照先编号id,后时间ts排序, 因此创建…… 题解列表 2022年01月19日 1 点赞 0 评论 866 浏览 评分:9.9
[编程入门]求和训练 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())sum_1 = 0sum_2 = 0sum_3 = 0for i in range(1,a+1): …… 题解列表 2022年01月19日 0 点赞 0 评论 347 浏览 评分:0.0
Cylinder题解,简单清晰 摘要:解题思路:注意事项:参考代码:from math import *w,h=map(float,input().split())while w: v=[] r=h/(pi+1)/2 i…… 题解列表 2022年01月19日 0 点赞 0 评论 567 浏览 评分:6.0
2012: 百分制成绩转换 易理解版 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n,a[1000],m,count=0; scanf…… 题解列表 2022年01月19日 0 点赞 0 评论 390 浏览 评分:9.9
1124: C语言训练-大、小写问题 摘要:解题思路:100以内的字符串,依次判断每个字符的值,是大写则切换成小写(+32);其它类型直接输出;注意事项:无参考代码:#include<stdio.h>#include<string.h>char…… 题解列表 2022年01月19日 0 点赞 0 评论 366 浏览 评分:0.0