mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
18 lines
269 B
C++
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;
|
||
|
}
|