c语言求解链表之节点删除 摘要:```c #include #include #define _CRT_SECURE_NO_WARNINGS 1 typedef struct student { int num;…… 题解列表 2023年11月05日 0 点赞 0 评论 571 浏览 评分:0.0
非递归方法解决最长公共子序列 摘要:解题思路:使用二维数组来记录相等的情况,根据左边和上方的数字以及相等的情况来为二维数组赋值注意事项:起始项为【1,1】,所以要i-1,j-1;参考代码:#include <iostream>#incl…… 题解列表 2023年11月05日 0 点赞 0 评论 517 浏览 评分:9.9
c++ STL解法,用上vector容器 摘要:#include<iostream> #include<vector> #include<algorithm> using namespace std; int main() { int…… 题解列表 2023年11月05日 0 点赞 0 评论 404 浏览 评分:8.0
JAVA的简单解法 摘要:解题思路:注意事项:主要注意要使用Math.ceil()向上取整参考代码:import java.util.Scanner;public class Main { public static v…… 题解列表 2023年11月05日 0 点赞 0 评论 516 浏览 评分:9.0
蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long int a, b, n, day = 0; scanf("%ld%ld%ld", &a, …… 题解列表 2023年11月05日 0 点赞 0 评论 383 浏览 评分:0.0
新手简单快速解决!!! 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n = 0, x = 0, y = 0; cin …… 题解列表 2023年11月05日 0 点赞 0 评论 389 浏览 评分:0.0
宏定义之闰年判断 摘要:解题思路:在这题中使用定义宏的方法比使用定义函数的方法更简单注意事项:#define 定义常量和宏注意 #define 后面没有分号;#define 常量名 常量值#define 宏名 宏表达式参考代…… 题解列表 2023年11月05日 0 点赞 0 评论 337 浏览 评分:0.0
自定义函数判断闰年 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int is_prime_year(int x) { if((x%4==0&&x%100!=0)||x%400==0)…… 题解列表 2023年11月05日 0 点赞 0 评论 395 浏览 评分:9.9
for循环c语言版 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int Y; float M,R; scanf("%f %f %d",&R,&M,&Y); …… 题解列表 2023年11月04日 0 点赞 0 评论 420 浏览 评分:0.0
利用等差数列求和公式解题 摘要:解题思路:利用等差数列求和公式,sn=na1+n(n+1)/2 * d注意事项:天冷了,请多穿衣服。参考代码://等差数列#include <stdio.h>int main(){ int n…… 题解列表 2023年11月04日 0 点赞 0 评论 531 浏览 评分:9.9