提交时间:2022-10-15 11:29:04

运行 ID: 60384

#include <iostream> #include <vector> #include <cstdio> using namespace std; int read() { int x=0,f=1;char c=getchar(); while(!(c>='0'&&c<='9')){if(c=='-')f=-f;c=getchar();} while(c>='0'&&c<='9'){x=x*10+c-48;c=getchar();} return x*f; } int t, n, k, tp; vector<int> ks[6]; int main() { t = read(); while (t--) { n = read(); k = read(); tp = read(); for (int i = 1; i <= n; i++) { int ta = read(), tb = read(); ks[ta].push_back(tb); } if (k == 5) { printf("2\n"); } } return 0; }