1480: 蓝桥杯算法提高VIP-模拟计算器(避坑,字符输入 摘要:既然题目里给了3 4 +(注意空格的位置),我们的scanf语句最好写成下面代码所示,否则空格将会影响ch的输入 ```c #include int main() { c…… 题解列表 2022年01月19日 0 点赞 0 评论 278 浏览 评分:0.0
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 评论 204 浏览 评分: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 评论 223 浏览 评分: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 评论 325 浏览 评分: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 评论 794 浏览 评分: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 评论 260 浏览 评分:0.0
外卖店优先级(详细解答) 摘要:|1|1| | ------------ | ------------ | |2|1| |3|1| |5|2| |6|2| |6|2| 将示例按照先编号id,后时间ts排序, 因此创建…… 题解列表 2022年01月19日 1 点赞 0 评论 792 浏览 评分: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 评论 295 浏览 评分: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 评论 507 浏览 评分:6.0
2012: 百分制成绩转换 易理解版 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n,a[1000],m,count=0; scanf…… 题解列表 2022年01月19日 0 点赞 0 评论 343 浏览 评分:9.9