OJ-Problems-Source/HDOJ/1845_autoAC.cpp
2016-08-17 15:13:51 +08:00

18 lines
269 B
C++

#include<stdio.h>
int main()
{
int T;
int t;
int a,b;
int n;
scanf("%d",&T);
while(T--)
{
scanf("%d",&n);
t=3*n/2;
while(t--) scanf("%d%d",&a,&b);
printf("%d\n",n/2);
}
return 0;
}