最大值:select max(num) from table 第二大值:select max(num) from tablewhere num not in(select max(num) from table) 第三大值:select max(num) from tablewhere num not in(select max(num) from tablewhere num not in(select max(num) from table)) 最小值:select min(num) fro
给定四个n元素集合 ABCD 要求分别从中取一个元素 abcd 使得他们的合为0 问有多少中取法 map果然炸了 #include<bits/stdc++.h> using namespace std; #define N 100000000 int a[N]; int b[N]; int c[N]; int d[N]; map<int,int>mp; int main() { int cas;cin>>cas; while(cas--) { mp.clea