#include <stdio.h> int main() { int t; scanf("%d", &t); // 读取测试用例的数量 while (t--) { // 对每个测试用例进行处理 int n, max1 0, max2 0, k 0; scanf("%d", &n); // 读取数组的大小 in…
目录
一. Spring是什么
IoC
DI
二. IoC&DI的使用
IoC
1.Controller(控制器存储)
2.Service(服务存储)
3.Repository(仓库存储)
4.Componemt(组件存储)
5.Configuratio…