My issue
runtime error signup
My code
/* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args)
{
// your code goes here
Scanner s= new Scanner(System.in);
int t =s.nextInt();
for(int i=0;i<t;i++)
{
int x=s.nextInt();
int n=s.nextInt();
int y=s.nextInt();
int m=s.nextInt();
int xn=x*n;
int ym=y*m;
System.out.println(xn+ym);
}
}
}
Problem Link: BNE_APT Problem - CodeChef