Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int t,n,m,i,x,y;
- scanf("%d",&t);
- for(i=1;i<=t;i++){
- scanf("%d %d",&n,&m);
- x=n/3;
- y=m/3;
- printf("%d\n",x*y);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement