------数字分离----- 摘要:解题思路:利用字符数组来接受数据然后顺序打印即可法一用函数法二不用函数感觉比法一还简洁一点若说错了请多多包含注意事项:参考代码://法一:/*题目 1034: [编程入门]自定义函数之数字分离题目描述…… 题解列表 2023年06月08日 0 点赞 0 评论 212 浏览 评分:0.0
简单算数表达式Java(正则表达式) 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scan…… 题解列表 2023年06月08日 0 点赞 0 评论 409 浏览 评分:9.9
一元多项式加法(简单粗暴) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>void createListL();typedef struct Node{ int a;//表示…… 题解列表 2023年06月08日 0 点赞 0 评论 318 浏览 评分:9.9
蓝桥杯算法训练VIP-链表数据求和操作(有老六解法,C语言) 摘要:老六解题法 #include<stdio.h> int main(){ int a[10],b[10]; int sum1 = 0,sum2 = 0; for(int i=0;…… 题解列表 2023年06月08日 0 点赞 0 评论 158 浏览 评分:0.0
蓝桥杯算法提高VIP-复数求和 摘要:#include<stdio.h> #include<stdlib.h> typedef struct elemtype { int a; int b; struct elem…… 题解列表 2023年06月08日 0 点赞 0 评论 146 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; long int max = -1000000,a[100],sum=0; …… 题解列表 2023年06月08日 0 点赞 0 评论 696 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double f(int x){ double c; if (x == 1) c = 1.0; else…… 题解列表 2023年06月08日 0 点赞 0 评论 173 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100][100] = { 0 }, i, j, n, m,sum=0; scanf("…… 题解列表 2023年06月08日 0 点赞 0 评论 350 浏览 评分:0.0
并查集,时间复杂度O(n^2),数据量达到5000应该也可行 摘要:解题思路: 先合并两座岛各自的,然后在合并组合的 注意事项: 因为有多种组合,因此不要修改原并查集的数据 参考代码: import java.io.BufferedReader; impo…… 题解列表 2023年06月08日 0 点赞 0 评论 697 浏览 评分:9.9
纯规律,不使用循环 摘要:解题思路:找到规律,不能被平分差的数的是 (x-2)%4 == 0, 然后判断 L,R中有多少个这样的数注意事项:参考代码:#include<bits/stdc++.h>#define ikun co…… 题解列表 2023年06月08日 0 点赞 1 评论 802 浏览 评分:4.0