无敌巨简单版本,一个公式解决!!! 摘要:解题思路:直接上公式了:输入 a,b买不到的最大数目就是 a*b-a-b;借鉴了一下一位大佬的解释,尝试理解吧用题目中给出的7和4来举例,当一个数k<7时,只能用4,除了4其他的都无法组成;当7<k<…… 题解列表 2022年01月16日 0 点赞 1 评论 1103 浏览 评分:9.9
结构体之成绩记录(这大概是最不用动脑子的答案了) 摘要:```c #include typedef struct student{ char id[100]; char name[100]; int mark1; …… 题解列表 2022年01月16日 0 点赞 0 评论 594 浏览 评分:0.0
编写题解 1858: 逆序数(简单易懂) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int n,a[100],count=0; scanf("%…… 题解列表 2022年01月16日 0 点赞 0 评论 527 浏览 评分:7.3
[编程入门]电报加密(避免使用gets()的解法 摘要:看到大家用的都是gets的解法,而gets由于输入易溢出的问题已经不时兴了。这里为大家提供只用scanf的方法解题思路:输入到字符数组存储,注意空格也要存入。(这里可以体现出get的便利性,因为get…… 题解列表 2022年01月16日 0 点赞 0 评论 440 浏览 评分:0.0
优质题解 python-Pascal三角 摘要:解题思路:①编写C(n,k)函数,并不难,这里不再赘述②编写生成Pascal三角的函数,按照格式输出即可注意事项:本题最难的部份应该就是格式输出问题主要有两个格式问题①每行中第一个输出的1前面有多少空…… 题解列表 2022年01月16日 0 点赞 1 评论 1199 浏览 评分:9.9
[编程入门]密码破译python 摘要:解题思路:注意事项:参考代码:C = 'G'h = 'l'i = 'm'n = 'r'a = 'e'print('…… 题解列表 2022年01月16日 0 点赞 0 评论 687 浏览 评分:4.7
买不到的数目 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ if(a<=1…… 题解列表 2022年01月16日 0 点赞 0 评论 344 浏览 评分:0.0
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:while True: a,b = map(int,input().split()) if a > 2**10 or b > 2**10: br…… 题解列表 2022年01月16日 0 点赞 0 评论 930 浏览 评分:7.2
[编程入门]三个数的最大值python 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input(),split) print(max(a,b,c))…… 题解列表 2022年01月16日 0 点赞 0 评论 695 浏览 评分:6.0
1074: 数字整除 摘要:解题思路:注意事项:参考代码:while True: try: m = input() if int(m) == 0: &n 题解列表 2022年01月16日 0 点赞 0 评论 332 浏览 评分:0.0