it's a piece of cake 摘要:解题思路:注意事项:注意c语言的基本要求规范即可参考代码:// 求出10至1000之内能同时被2、3、7整除的数,并输出。#include <stdio.h>int main(){ int n …… 题解列表 2021年12月29日 0 点赞 1 评论 217 浏览 评分:9.9
1867: 王牌花色 摘要:解题思路:看了一些题解,感觉有些难理解,对于这道题我们只需要使用if判断就可以了我们已经知道牌面由大小和花色组成,所以只需要开辟两组数组存放就可以了,先比较花色,如果都是王牌花色则比较放在第一个单位的…… 题解列表 2021年12月29日 0 点赞 2 评论 419 浏览 评分:9.9
利用笨办法求解 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; int b; while (cin >> a) { …… 题解列表 2021年12月29日 0 点赞 0 评论 215 浏览 评分:0.0
编写题解 1671: 小九九 摘要:for i in range(1,10): for j in range(1,i+1): print('%-6s'%(f'{j}*{i}={i*j}…… 题解列表 2021年12月29日 0 点赞 0 评论 340 浏览 评分:0.0
编写题解 1670: 拆分位数 摘要:解题思路:注意事项:参考代码: a= input() for i in a[::-1]: print(i,end=' ')…… 题解列表 2021年12月29日 0 点赞 0 评论 275 浏览 评分:0.0
1636: 蓝桥杯算法训练VIP-整除问题 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split()) for i in range(a,b+1): if i % c ==0: …… 题解列表 2021年12月29日 0 点赞 0 评论 296 浏览 评分:9.9
解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码: n = int(input()) s = list(map(int,input().split())) print(int(sum(s)/len(s)))…… 题解列表 2021年12月29日 0 点赞 0 评论 285 浏览 评分:0.0
586: 蓝桥杯算法训练VIP-A+B problem 摘要:解题思路:注意事项:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: …… 题解列表 2021年12月29日 0 点赞 0 评论 275 浏览 评分:9.9
编写题解 1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:s=c=0 while True: try: a,b=map(int,input().split()) s += a c += b excep…… 题解列表 2021年12月29日 0 点赞 0 评论 551 浏览 评分:9.9
1153: C语言训练-谁家孩子跑最慢* 摘要:解题思路:题目有四个条件 1.李家的孩子最高分是9,王家的孩子最高分是8;2.每一家孩子得分不相邻;3.每一家得分相同(1+……+9=45 45/3=15)即每一家总分是15;4.没有得分相同的孩子…… 题解列表 2021年12月29日 0 点赞 0 评论 400 浏览 评分:9.9