2330: 信息学奥赛一本通T1178-成绩排序 摘要:```cpp #include #include using namespace std; typedef struct student { char m[20]; in…… 题解列表 2023年02月15日 0 点赞 0 评论 873 浏览 评分:9.9
1015: [编程入门]求和训练 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())a1,b1,c1=0,0,0for i in range(a+1): a1+=ifor j in ran…… 题解列表 2023年02月15日 0 点赞 0 评论 142 浏览 评分:0.0
[递归]母牛的故事 摘要:解题思路:注意事项:参考代码:while True: n=int(input()) l=[1,2,3] if n==0: break else: f…… 题解列表 2023年02月15日 0 点赞 0 评论 408 浏览 评分:9.0
[编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:sum=0t=1num=int(input())for i in range(1,num+1): t=t*i sum+=tprint(sum)…… 题解列表 2023年02月15日 0 点赞 0 评论 166 浏览 评分:0.0
蓝桥杯2018年第九届真题-防御力 摘要:解题思路:注意事项:参考代码:n1,n2=map(int,input().split()) lsA=list(map(int,input().split())) copy_lsA=[_ for _…… 题解列表 2023年02月15日 0 点赞 0 评论 250 浏览 评分:9.9
日期排序 冒泡排序加结构体 摘要:解题思路:注意事项:输出时%02d补齐0,否则左侧只会输出2不会输出02参考代码:#include<stdio.h>struct date{ int y; int m; int d;…… 题解列表 2023年02月15日 1 点赞 0 评论 326 浏览 评分:0.0
2857: 加密的病历单 C++ 摘要:解题思路: 加密时: 1. 反转 2. 大小写转换 3. 循环左移3位 则解密时: &nbs 题解列表 2023年02月15日 0 点赞 0 评论 333 浏览 评分:9.9
2856: 潜伏者 (C++) 摘要:解题思路: 根据输入建立译码表 检查2、3情况的发生注意事项:参考代码:#include <iostream> // #include <sstream> // #include <c…… 题解列表 2023年02月15日 0 点赞 0 评论 300 浏览 评分:6.0
短路运算代替判断语句 摘要:解题思路:用短路运算来进行判断,语句更加简洁注意事项:参考代码:#include <stdio.h>int main() { int x; scanf("%d",&x); (x==1…… 题解列表 2023年02月15日 0 点赞 0 评论 387 浏览 评分:9.9
利用逻辑运算来输出 摘要:解题思路:利用逻辑运算来输出,逻辑运算的输出数值只有0和1注意事项: //逻辑运算 //与运算:只要有一个假就为假 //或运算:只要有一个真就可以真 //异或运算:一真一假才为真参考代…… 题解列表 2023年02月15日 0 点赞 0 评论 398 浏览 评分:10.0