摘要:
🤠 原题地址 ⭐ 预先压缩数组 ⭐ 局部的最小值 >= 全局最小值 import java.util.Scanner; public class Main { static int N = 5010; static int[] color = new int[N]; static int[][] 阅读全文
摘要:
⭐ 外卖店优先级 ⭐ 暴力枚举爆内存 ⭐ 分析过程,优先级的 + - 具有片段性,要么整段+ ,要么整段 - import java.io.*; import java.util.*; public class Main { static int N = 100010, n, m; static i 阅读全文
摘要:
🍑 C语言实验专栏 1. 分段函数 #include<stdio.h> int main(){ double x,y; scanf("%lf", &x); y = x; if (x >= 1 && x < 10) y = x - 1; if (x >= 10) y = 3 * x - 11; pr 阅读全文