文科生的悲哀(找规律) 解题思路:第一次第二次第三次第四次第五次政治历史政治历史政治地理历史地理综合政治地理地理观察题目和表格可以发现,奇数次的政治和地理的数目分别和上一奇数次的政治和地理的数目有关系,即第x次的政治数量为x-2次的政治数量+第x-2次的地理数量,第x次的地理数量为x-2的政治数量+第x-2次的地理数量*2, 题解列表 2023年02月03日 0 点赞 0 评论 763 浏览 评分:8.0
鸡兔同笼问题 摘要:解题思路:数学方法解方程注意事项:参考代码:#include<stdio.h>int main(){ int n,x,y,m; scanf("%d%d",&x,&y); …… 题解列表 2023年02月03日 0 点赞 0 评论 956 浏览 评分:8.0
编写题解 3008: 买笔, 摘要:解题思路:注意事项:只因你太美参考代码:#include <iostream>using namespace std;int main(int argc, char** argv) {int x,y,…… 题解列表 2023年02月06日 0 点赞 2 评论 596 浏览 评分:8.0
2800: 多边形内角和 摘要:解题思路:注意事项:参考代码:m = 0n = int(input())a = list(map(int,input().split()))for i in a: m += iprint((n …… 题解列表 2023年02月06日 0 点赞 0 评论 688 浏览 评分:8.0
C语言训练-阶乘和数* 笨方法 摘要:解题思路:先将符合条件的数字找出来,放在一个数组里,再来排序。希望对大家要帮助参考代码:#include<stdio.h>int R1(int n){ int sum2 = 1; for (; n >…… 题解列表 2023年02月07日 0 点赞 0 评论 653 浏览 评分:8.0
简单算术表达式求值(C语言) 摘要:#include<stdio.h> void my_fun(int x,char v, int y) { if(v=='+') { printf("%d\n", x …… 题解列表 2023年02月13日 0 点赞 0 评论 971 浏览 评分:8.0
2845: 求10000以内n的阶乘 重载运算符好看 摘要:解题思路:高精度模拟大整数 乘法、输出注意事项:参考代码:#include <iostream> // #include <sstream> // #include <cstdio> // #i…… 题解列表 2023年02月14日 0 点赞 0 评论 840 浏览 评分:8.0
2813: 药房管理 摘要:解题思路:注意事项:参考代码:s = 0 m = int(input()) n = int(input()) y = list(map(int,input().split())) for i …… 题解列表 2023年02月15日 0 点赞 0 评论 672 浏览 评分:8.0
c语言简单版本 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str[1000000]; gets(str); int a[26]={0},…… 题解列表 2023年02月19日 0 点赞 0 评论 777 浏览 评分:8.0
1006: [编程入门]三个数找最大值python题解 运用列表简易找出,还能举一反三print输出时用变量名直接表述参考代码:a=list(map(int,input().split())print(max(a)) 题解列表 2023年02月20日 1 点赞 0 评论 930 浏览 评分:8.0