2084: 蓝桥杯基础练习-特殊回文数 摘要:先求各位和是否与所求一致,再判断是否是回文数,而不是相反。#include <bits/stdc++.h> using namespace std; int f(int a){ in…… 题解列表 2022年01月04日 0 点赞 0 评论 502 浏览 评分:0.0
1470: 蓝桥杯基础练习VIP-时间转换 摘要:时分秒挨个对 60 取余就得到了。#include <bits/stdc++.h> using namespace std; int main(){ int n; cin …… 题解列表 2022年01月04日 0 点赞 0 评论 405 浏览 评分:0.0
二级C语言-自定义函数 路过了就看一眼吧 大哥们 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>double fact(int n){ int j; double t=1; for(j=1;j<=n;…… 题解列表 2022年01月04日 0 点赞 0 评论 367 浏览 评分:9.9
二级C语言-求偶数和 摘要:解题思路:1.先输入一个n值限制2、然后再输入数值注意事项:参考代码:#include<stdio.h>int main(){ int n,sum=0,x; scanf("%d",&n); for(i…… 题解列表 2022年01月04日 0 点赞 0 评论 997 浏览 评分:9.9
KMP字符串模式匹配算法实(Java代码) 摘要:解题思路: 写一个kmp算法的方法 多调用几遍方法就好了参考代码:import java.util.Scanner; public class KMP字符串模式匹配算法实现 { publ…… 题解列表 2022年01月04日 0 点赞 0 评论 509 浏览 评分:9.9
1733: 堆栈的使用-C语言 摘要:```c //堆栈的使用 #include #include typedef struct node { int data; struct node *next;…… 题解列表 2022年01月04日 0 点赞 0 评论 619 浏览 评分:0.0
1680: 数据结构-八进制数-C语言 摘要:```c #include #include #include typedef struct stack{ int data; struct stack *next;…… 题解列表 2022年01月04日 0 点赞 0 评论 559 浏览 评分:0.0
1997: 日期换算 摘要:解题思路:注意事项:参考代码:m,d = map(int,input().split()) lis = [] for i in range(1,8): if i%2==0: …… 题解列表 2022年01月04日 0 点赞 0 评论 359 浏览 评分:0.0
1988: 求总时间 摘要:解题思路:注意事项:参考代码:n = int(input()) lis = [30] for i in range(n-2): lis.append(lis[-1]*1.05) pri…… 题解列表 2022年01月04日 0 点赞 0 评论 468 浏览 评分:0.0
1955: 贷款计算 摘要:解题思路:注意事项:参考代码:s,l,m = map(float,input().split())print(int(s*10000/m)+int(s*10000*l))…… 题解列表 2022年01月04日 0 点赞 0 评论 442 浏览 评分:0.0