题解列表
数组从小到大排序后,从后向前遍历,不断更新众数及重数
摘要:解题思路:注意事项:参考代码:import java.util.*;
public class Main {
public static void main(String[] args……
1196: 去掉空格--容易理解
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void fun(char a[]){ int l=strlen(a); for(int i;……
c++ 找规律分奇数偶数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
int main()
{
int a[10000],n;
ci……
java--study||O.o
摘要:参考代码:
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
……
蓝桥杯算法训练VIP-暗恋
摘要:解题思路:维护一个二维数组的前缀和数组,随后对其检测每一个正方形,若全为1则该正方形的和为其面积。若全为0,则正方形的和为0参考代码:#include<bits/stdc++.h>
using na……
【C语言题解】编写题解 1673: 数据结构-集合union
摘要:```
#include
#include
typedef struct Union{
int data;
struct Union* next;
}*node,Node;
//建立……