Help me in solving BIRYANI problem

My issue

what is the wrong with this code where i have to change

My code

import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.Scanner;
class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
	Scanner read= new Scanner(System.in);	// your code goes here
    int t=read.nextInt();
    while(t>0)
    {
        int a=read.nextInt();
        int b=read.nextInt();
        System.out.println(a*b);
    }
    
	}
}

Problem Link: Biryani classes Practice Coding Problem - CodeChef

@akankshakeshri
you have to do while(t–>0)