寻宝 #include <bits/stdc++.h> using namespace std; const int N = 10009, M = 109; int n, m, a[N][M], num[N][M], qty[N]; int main() { scanf(&